resolv and DNS mystery (or misery)
Hello All :P
So the basics came to bite me in the @rse.
Here is my setup:
running "named" with IP address x.x.x.4 (dedicated PPP connection)
running "named" with IP address x.x.x.3 (DSL connection)
(x.x.x.0 is a non-valid network on the Internet. Our firewall/router takes care of the NAT.)
I have two resolv.conf files that look like this:
For Server 1:
For Server 2:
Both servers have been tested with dig and can do name queries using external DNS servers like a.root-servers.net.
I have two questions:
I sniffed some packets on Server 1 with ethereal and can see that Server 1 is resolving names using Server 2. (makes sense when you look at resolv.conf). But where does Server 2 look to when trying to resolve names when there is no external DNS server configured in its resolv.conf ? :?:
When I switch-off Server 2, Server 1 is having problems resolving names. If it also has a working connection to the internet why can it not resolve the query by itself? :?: (If I understand the answer to question 1 I'll probably understand why Server 1 is not working.)
Any help or comments are welcome.