Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2011 10:39:53 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Lawrence Stewart <lstewart@freebsd.org>
Cc:        hackers@freebsd.org
Subject:   Re: Does anyone use nscd?
Message-ID:  <86ipo3hlwm.fsf@ds4.des.no>
In-Reply-To: <4E8BECAF.8030204@freebsd.org> (Lawrence Stewart's message of "Wed, 05 Oct 2011 16:35:43 %2B1100")
References:  <86sjn84wco.fsf@ds4.des.no> <4E8BECAF.8030204@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Lawrence Stewart <lstewart@freebsd.org> writes:
> If the machine running nscd loses connectivity with the DNS server for
> a while and does a DNS lookup during that time, nscd will cache the
> -ve reply indefinitely for all users, which breaks all sorts of
> crap. Have to forcibly run "nscd -I all" to fix. I will find and fix
> this bug one day if noone beats me to it...

Definitely a bug, nscd is only supposed to cache negative responses for
60 seconds.  I hope you find the time to track it down :)

Is it 100% reproducable?  How long does the DNS server have to be
unreachable before it happens?

> I'd like to see it stay in base. Moving it (slowly) towards a point
> where we can turn it on by default would be cool.

Agreed, in principle.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ipo3hlwm.fsf>