DNS forwarder doesn't resolve static addresses
-
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?
-
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.
-
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?
-
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
-
\hostname is WINS. Has nothing to do with the forwarder/resolver. Use FQDNs. Period.
-
How do I go about doing that please?
-
You use \hostname.example.com, not \hostname.
-
That does work. But why does \hostname work over LAN but not over VPN?
-
Because there's no NetBIOS/WINS over VPN normally. You should not use any such thing anyway.
-
Is there no way to get this to work?
-
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
-
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).