/etc/resolv.conf with 3 nameservers
ken at allenmyland.com
Mon Apr 10 14:45:18 UTC 2006
guru at Sisis.de wrote:
> The man page of resolv.conf claims:
> The different configuration options are:
> nameserver Internet address (in dot notation) of a name server that the
> resolver should query. Up to MAXNS (currently 3) name
> servers may be listed, one per keyword....
> I've three DNS server in my /etc/resolv.conf in 6.0-REL:
> $ cat /etc/resolv.conf
> domain Sisis.de
> nameserver 10.0.1.201
> nameserver xxx.xxx.xxx.xxx
> nameserver yyy.yyy.yyy.yyy
> But only the 1st one (10.0.1.201) is contacted to make the name lookup
> (I've checked this with trussing a 'ping whatever.domain.com') and if
> it does not know the addr, while the second one would know it, it does
> not resolve.
> Do I miss something?
I think the problem is that once your first server responds with a
"domain not found", that's considered an answer to your query. It
doesn't try another DNS server just to see if it gets a different
answer. If you were to disable the DNS server on 10.0.1.201, then it
would use xxx.xxx.xxx.xxx or yyy.yyy.yyy.yyy to resolve the query.
More information about the freebsd-questions