On Thu, 20 Mar 2008, Ian Kent wrote:
> On Wed, 2008-03-19 at 22:06 -0700, Jim Carter wrote:
> > Today I upgraded one of my three DNS servers, the first listed in
> > /etc/resolv.conf, and until I got it back on the air, autofs mounting
> > was glacial...
> 
> Not sure about the 5 seconds, I thought the timeout was longer, but I
> think autofs is doing DNS lookus for the same name more often than it
> needs to.

The current man page for resolv.conf(5) says the default timeout is 5 secs, 
and the apps behave as if that were true.  There's an option to tweak the 
timeout, and it's been suggested to shorten the time, since on a local 
lookup if you don't get an answer in 1 sec you're never going to get it -- 
but the timeout applies to global lookups too, which can take longer 
legitimately, if several stages of forwarders and recursion are involved.

> I'll have a look and see if I can put something together for you to
> test.

Thanks for looking into this -- I'll test the package on one of the 
machines running 5.0.2 presently.  

James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 520 Portola Plaza; Los Angeles, CA, USA  90095-1555
Email: [EMAIL PROTECTED]    http://www.math.ucla.edu/~jimc (q.v. for PGP key)

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to