SSH login takes very long time...sometimes

Yar Tikhiy yar at comp.chem.msu.su
Wed Mar 1 12:38:31 UTC 2006


On Wed, Mar 01, 2006 at 12:28:14AM +0900, Hajimu UMEMOTO wrote:
> Hi,
> 
> >>>>> On Mon, 27 Feb 2006 18:19:54 +0300
> >>>>> Yar Tikhiy <yar at comp.chem.msu.su> said:
> 
> yar> I finally spared some time to test your recent changes and found
> yar> that the resolver still would retry using the first, and only the
> yar> first, domain on the `search' list when the nameserver was down,
> yar> which effectively led to another kind of request doubling.
> 
> yar> A similar effect was observed when a `domain' line was specified
> yar> in resolv.conf in place of `search'.
> 
> yar> Is there a real reason to retry with a different domain when the
> yar> nameserver doesn't respond at all?
> 
> It seems yet another issue.  The errors returned by res_querydomain()
> are not handled uniformity.  Please try following patch:

It works for me, thanks!

-- 
Yar


More information about the freebsd-stable mailing list