trying different name servers listed in /etc/resolv.conf

Amardeep Singh Amardeep.Singh at nokia.com
Mon Nov 17 13:56:22 UTC 2003


Hi,

If there are multiple nameservers listed in /etc/resolv.conf, what is 
the strategy for trying a particular one of them. Is it that on every 
gethostbyname invocation, first one is always tried, and if it doesn't 
responds in a particular time frame, second one is tried and so on --- 
or some history is maintained so that if first one doesn't reply for 
some no. of queries, automatically second one becomes the default server.

Thanks

Amardeep


More information about the bind-users mailing list