SSH login takes very long time...sometimes
Chuck Swiger
cswiger at mac.com
Mon Feb 27 07:55:54 PST 2006
Yar Tikhiy wrote:
[ ... ]
> A similar effect was observed when a `domain' line was specified
> in resolv.conf in place of `search'.
>
> Is there a real reason to retry with a different domain when the
> nameserver doesn't respond at all?
UDP is lossy, and it may take a nameserver longer to respond that the client
resolver library is willing to wait; the fact that a nameserver didn't answer
once isn't a sure sign that it won't answer other questions, or even that it
won't answer the same question if you just wait a minute.
On the other hand, if you make 100 queries and not hear anything back, perhaps
it would be useful to log that information and possibly take action.
--
-Chuck
More information about the freebsd-stable
mailing list