DNS client lookups, was [Fwd: Re: DNS configuration Tool]
binaryboy at blueyonder.co.uk
Sun Jan 4 14:14:13 UTC 2004
Tom Diehl wrote:
> On Sun, 4 Jan 2004, Ade Bradshaw wrote:
>>Im not sure if Im being much clearer now ;-) In a nutshell, if a DNS
>>*client* has two entries in /etc/resolv.conf will it always ask the
>>first server listed or will it choose one at random ??
>>From man resolv.conf:
> Internet address (in dot notation) of a name server that the
> resolver should query. Up to MAXNS (see <resolv.h>) name
> servers may be listed, one per keyword. If there are multiple
> servers, the resolver library queries them in the order listed.
> If no nameserver entries are present, the default is to use the
> name server on the local machine. (The algorithm used is to try
> a name server, and if the query times out, try the next, until
> out of name servers, then repeat trying all the name servers
> until a maximum number of retries are made).
Aha, so I was right. Many thanks for finally clearing away any doubts. I
think I probably misunderstood the original post (maybe).
More information about the users