Resolv.conf not querying correctly?
Bjarte Nilsen
bork at bork.net
Thu Sep 30 09:07:34 UTC 1999
Hi,
I thought that if you had a /etc/resolv.conf like this:
nameserver 193.1.12.1
nameserver 127.1.22.10
nameserver 193.212.1.10
it would first query #1 for 5 sec. then go on to #2 for 5. sec. and last #3
for 5 sec - before it would go back to #1, double the timeout, and start
over.
To me it looks like it's querying #1 for 5 sec, then #1 for 10 sec, then #1
for 20 sec, and last #1 for 40 sec - before it does the same with #2 and
last #3.
So, if my first nameserver goes down, my clients have a DNS-resolv hang for
about 5+10-20+40= 75 sec. for every time it needs to desolve a name.
I have noticed this with both Solaris 2.6, 2.5.1, Irix 6.5.1, 6.5.3, HP-Ux
10.20, LInux RH 6.0, 6.0.1.
I can implement a workaround in Solaris by setting "options retry:1". But
this doesn't help me for the other OS's.
Is this normal behaviour?
/Bjarte Nilsen
More information about the bind-users
mailing list