From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 5 08:39:55 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FCB7106566B for ; Wed, 5 Oct 2011 08:39:55 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id C4A478FC12 for ; Wed, 5 Oct 2011 08:39:54 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id C61A91FFC35; Wed, 5 Oct 2011 08:39:53 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id AA632845C9; Wed, 5 Oct 2011 10:39:53 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Lawrence Stewart References: <86sjn84wco.fsf@ds4.des.no> <4E8BECAF.8030204@freebsd.org> Date: Wed, 05 Oct 2011 10:39:53 +0200 In-Reply-To: <4E8BECAF.8030204@freebsd.org> (Lawrence Stewart's message of "Wed, 05 Oct 2011 16:35:43 +1100") Message-ID: <86ipo3hlwm.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: hackers@freebsd.org Subject: Re: Does anyone use nscd? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 08:39:55 -0000 Lawrence Stewart 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