Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2006 00:47:12 +0200
From:      Rostislav Krasny <rosti.bsd@gmail.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>
Cc:        freebsd-stable@freebsd.org, freebsd-stable-local@be-well.ilk.org, yar@comp.chem.msu.su, dwmalone@maths.tcd.ie, des@des.no, mak@ll.mit.edu, MH@kernel32.de
Subject:   Re: SSH login takes very long time...sometimes
Message-ID:  <20060301004712.ba7eb061.rosti.bsd@gmail.com>
In-Reply-To: <ygeveuz33ld.wl%ume@mahoroba.org>
References:  <20060218012029.e146e2ff.rosti.bsd@gmail.com> <20060219104912.GB20500@comp.chem.msu.su> <20060219225701.0e3e244b.rosti.bsd@gmail.com> <20060221165959.GB77513@comp.chem.msu.su> <20060222024430.ad4b5c60.rosti.bsd@gmail.com> <yge1wxvz5ha.wl%ume@mahoroba.org> <20060223235727.33cddb13.rosti.bsd@gmail.com> <ygefym98o7i.wl%ume@mahoroba.org> <20060224155153.f7da1a52.rosti.bsd@gmail.com> <ygewtfkelbu.wl%ume@mahoroba.org> <20060227151954.GV6435@comp.chem.msu.su> <ygeveuz33ld.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 01 Mar 2006 00:28:14 +0900
Hajimu UMEMOTO <ume@freebsd.org> wrote:

> Hi,
> 
> >>>>> On Mon, 27 Feb 2006 18:19:54 +0300
> >>>>> Yar Tikhiy <yar@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:

Thank you! After applaying that additional patch a number of DNS
queries to unreachable name servers has decreased. Now, with three
unreachable name servers in resolv.conf and previously patched (my and
your patches) ftpd(8), I can successfully login to this machine by even
not patched ftp(1) from other FreeBSD 6.1-pre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060301004712.ba7eb061.rosti.bsd>