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

    DNS forwarder doesn't resolve static addresses

    Scheduled Pinned Locked Moved DHCP and DNS
    12 Posts 4 Posters 1.8k 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 Offline
      tsolrm
      last edited by

      For some reason, my DNS only resolves addresses obtained from the DHCP server. Hence I can't resolve my nas device. Is there a cure for this apart from manually adding all the static devices to the DNS forwarder?

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        @tsolrm:

        Is there a cure for this apart from manually adding all the static devices to the DNS forwarder?

        No, the DNS forwarder has not yet grown paranormal skills. You either configure overrides in forwarder or set up static DHCP leases and let those register in DNS.

        1 Reply Last reply Reply Quote 0
        • T Offline
          tsolrm
          last edited by

          Could you please give me an explanation as to what the difference is between setting up a DHCP lease and just entering a host override in the DNS forwarder?

          1 Reply Last reply Reply Quote 0
          • T Offline
            tsolrm
            last edited by

            I'm still having issues with the pfsense resolving the name of the NAS device.

            So I have added a host override for the host name and IP address of the nas.

            Now I can do the following: nslookup 'NAS hostname' and that resolves ok.

            However when I type in \hostname into the folder path - it doesn't resolve. But \nasIP works just fine

            I'm doing this over OpenVPN

            1 Reply Last reply Reply Quote 0
            • D Offline
              doktornotor Banned
              last edited by

              \hostname is WINS. Has nothing to do with the forwarder/resolver. Use FQDNs. Period.

              1 Reply Last reply Reply Quote 0
              • T Offline
                tsolrm
                last edited by

                How do I go about doing that please?

                1 Reply Last reply Reply Quote 0
                • D Offline
                  doktornotor Banned
                  last edited by

                  You use \hostname.example.com, not \hostname.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tsolrm
                    last edited by

                    That does work. But why does \hostname work over LAN but not over VPN?

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      doktornotor Banned
                      last edited by

                      Because there's no NetBIOS/WINS over VPN normally. You should not use any such thing anyway.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tsolrm
                        last edited by

                        Is there no way to get this to work?

                        1 Reply Last reply Reply Quote 0
                        • 2 Offline
                          2chemlud Banned
                          last edited by

                          I have links on my desktops (Win and Linux) to the NASs on the other sides of VPNs, all with the IPs. Doing fine! :D

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            muswellhillbilly
                            last edited by

                            You need to have a WINS service running on your local server with an entry for the remote NAS device. Then you should be able to resolve \hostname and connect to it. Otherwise, you can just as easily use the FQDN (\hostname.example.com) if you want a quicker solution (assuming you've entered this address in your DNS settings, that is).

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