I have to network in different subnets connected by a VPN. There are routes from one network to the other.
What's the right way to set up DNS so I can resolve names for all machines in the network?
Should I put each network in a subdomain (foo.lan and bar.lan), give one the top level .lan, the other foo.lan, or leave both in .lan, and set up the dns (s for server) to send unfulfilled requests to another server?
The "correct" answer should work if another network and vpn tunnel are added (2 client VPNs, 1 server).
Can dnsmasq handle this, or do I need to switch to something like bind?