Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    No DNS entry for OpenVPN client?

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 218 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tzalmaves
      last edited by

      Hello all,

      My OpenVPN client connects to PfSense. When I run nslookup on my OpenVPN client, I can enter hostnames of any PfSense LAN clients and get an IP address, but when I try to lookup the hostname of my OpenVPN client (in other words I am trying to find myself in nslookup), it does not show up (see below, the OpenVPN client is "asusvivobook" and has an ip address of 192.168.121.2).

      Is this something that should work given a correct configuration?

      C:\Users\xxx>nslookup
      Default Server:  UnKnown
      Address:  192.168.121.1
      
      > zotac
      Server:  UnKnown
      Address:  192.168.121.1
      
      Name:    zotac.localdomain
      Address:  192.168.110.143
      
      > xbox
      Server:  UnKnown
      Address:  192.168.121.1
      
      Name:    xbox.localdomain
      Address:  192.168.30.88
      
      > asusvivobook
      Server:  UnKnown
      Address:  192.168.121.1
      
      *** UnKnown can't find asusvivobook: Non-existent domain
      >
      
      GertjanG 2 Replies Last reply Reply Quote 0
      • GertjanG
        Gertjan @tzalmaves
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @tzalmaves
          last edited by

          @tzalmaves said in No DNS entry for OpenVPN client?:

          Is this something that should work given a correct configuration?

          You want to register OpenVPN clients into the local DNS, like this :

          72aabffa-862a-4c1a-80c1-666fa343fa01-image.png

          ?

          T 1 Reply Last reply Reply Quote 0
          • T
            tzalmaves @Gertjan
            last edited by

            @Gertjan OK thanks, I didn't realize that the DNS name is tied to the pfSense user name used when connecting to the OpenVPN server.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.