As an example, I have a DNS server that is on 10.0.1.10 . I have two networks: 10.0.1.1/24 , 10.0.2.1/24, and clients on each network. I have a client (foo.bar.com) which has interfaces on each of these networks: 10.0.1.5 and 10.0.2.5. My DNS server is accessible from all clients on all of my networks.
Is there a term, feature, hack, etc, that would allow this DNS server to respond to queries and give out network specific information? For instance, can a client on 10.0.1.1/24 network ask for foo.bar.com and get a response for 10.0.1.5, and a client on 10.0.2.1/24 ask the same query and get a response for 10.0.2.5? I want clients on each network to always get to foo.bar.com using the interface that foo.bar.com has on that respective network. I am hoping that host-files on clients isn’t the only approach for this…pleease not host files.
Powered by WPeMatico