How to share DNS resolvers?
-
I am connecting two LANs with OpenVPN inside pfSense.
Both LANs have DNS resolvers inside, which are also resolving DHCP leases.
Is it possible to share this data betweem resolvers?
For example, if I travel with some computer from one LAN to another, and plug it in new places, can it be found but it's name from any LAN?
-
I think you're looking for a domain override? That can be used to forward requests to a particular DNS server or servers.
-
Yeah domain override would work - just make sure that unbound allows via ACL queries from the other site IP range.
Also keep in mind that if your looking for machineX, which might be machineX.sitea.tld, when it moves and gets a new dhcp lease in site b. You would want to find it via machineX.siteb.tld fqdn
If you setup your machines to use suffix search for both siteA.tld and siteB.tld would be possible for the user to just look for machineX