From owner-freebsd-current@FreeBSD.ORG Tue May 11 07:18:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5780116A4CE for ; Tue, 11 May 2004 07:18:09 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3708743D45 for ; Tue, 11 May 2004 07:18:08 -0700 (PDT) (envelope-from cyrille.lefevre@laposte.net) Received: from pc2k (unknown [81.185.52.50]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id C1E9E17B876; Tue, 11 May 2004 16:18:51 +0200 (CEST) Message-ID: <0fa501c43762$c79749c0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Dave Hart" References: <255A839665EA24408EB27A6AAE15518E27AB59@europa.ad.hartbrothers.com> Date: Tue, 11 May 2004 16:18:06 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Mailman-Approved-At: Wed, 12 May 2004 04:56:28 -0700 cc: "current @FreeBSD.org" Subject: Re: bind timeouts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2004 14:18:09 -0000 "Dave Hart" wrote: > > > * The contents of /etc/resolv.conf. > > > > search gits.fr.invalid private.gits.fr.invalid > > nameserver 127.0.0.1 > > nameserver 213.203.124.146 > > nameserver 212.30.96.108 > > This seems questionable. Do the non-localhost nameservers have records for no, this isn't questionnable since they are also declared in /etc/namedb/named.conf, so, in one case, the client asks the local bind to resolv some host, which may be local or not, if not, bind asks one of the forwarders to resolve the query. in another case, the local bind doesn't respond for any reason (down, etc.), so, the query is directly sent to the first available forwarders, then if the query isn't satisfied, take a look at /etc/hosts. since usually, the local bind respond (except for now...), the remote binds aren't reached using /etc/resolv.conf, but through the local bind. am I enough clear ? are you right w/ me or am I wrong ? > gits.fr.invalid? If not, you should only have 127.0.0.1 listed. however, no change w/o them in /etc/resolv.conf # host smarthost Host not found, try again. # host -r smarthost Host not found. CC -current Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net