[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: REQUEST: Network Interface Failover and multi-DNS resolution



On Thu, 12 Aug 2004, Carlos Rodrigues wrote:
> Jesse Keating wrote:
> > Why can't you list the second DNS server in /etc/resolv.conf?  Also you 
> > can specify multiple domains to search for base names in.  EG:
> > 
> > /etc/resolv.conf:
> > search hq.pogolinux.com ks.pogolinux.com
> > nameserver 192.168.1.2
> > nameserver 192.168.2.2
> > 
> > On this system, one nic is .1 subnet, while the other nic is .2 subnet.  
> > One subnet is hq, the other is ks.  Given that I listed both search 
> > domains, I can do things like "ping fred" and "ping barney"  given that 
> > fred is on HQ and barney is on KS.  Name lookups will work and things 
> > will be happy.
> 
> I've already tried that. It doesn't work. The first nameserver in 
> resolv.conf is the only one that is queried. The other ones are only 
> queried if the first is down, not when the first gives a negative answer.

That's the joy of using split DNS.

If it hurts, don't do it.

Or fix it so that it hurts less, e.g., share the zones.

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]