From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EgtQh-00048A-FX for garchives@archives.gentoo.org; Tue, 29 Nov 2005 00:33:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAT0UYXe012475; Tue, 29 Nov 2005 00:30:34 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAT0L5T0031086 for ; Tue, 29 Nov 2005 00:21:06 GMT Received: by wproxy.gmail.com with SMTP id 71so857367wra for ; Mon, 28 Nov 2005 16:21:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BiF5auJZiF97kON/pVemhrCS2eECLEeqqTP1mqQrKGcFcjoEhI0v0WDZYMfw7WUSFVFeBoGY7GWxYlzKM+8BOD7qYS/e9JoFETLfM9OlRfSVfzlCrOcRzVkuB+3xkIrteP9KgODrl+QRRVuwSRvYSrjxJtEkRfyE5I+GkJnIx8U= Received: by 10.54.93.3 with SMTP id q3mr815686wrb; Mon, 28 Nov 2005 16:21:05 -0800 (PST) Received: by 10.54.126.13 with HTTP; Mon, 28 Nov 2005 16:21:05 -0800 (PST) Message-ID: <7573e9640511281621i10555533xb5f02ba334c91c64@mail.gmail.com> Date: Mon, 28 Nov 2005 17:21:05 -0700 From: Richard Fish Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OT - Why is Gentoo so slow when internet is out? In-Reply-To: <438B8EFE.5000004@infoline.su> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <1133211269.25761.6.camel@camille.espersunited.com> <438B74F6.4000604@infoline.su> <1133213520.10261.1.camel@camille.espersunited.com> <438B7C30.2030500@infoline.su> <7573e9640511281419r3d5fcd64g90a8faea2a5a19e4@mail.gmail.com> <438B8EFE.5000004@infoline.su> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jAT0L5T0031086 X-Archives-Salt: b4ad9f8b-3be2-4c5d-bc91-51104e9b18dd X-Archives-Hash: 816d2ca928ddb531e54c55fc4d4019eb On 11/28/05, Alexander Kirillov wrote: > >>The local resolver lib will use either /etc/hosts file or dns queries in > >>the order defined in your /etc/host.conf > > > > You mean /etc/nsswitch.conf? > > I probably do. Is /etc/host.conf still of any use? Actually, I'm not sure. I've always edited nsswitch.conf to get it to do what I want, with good results. I see with strace that when I ping , both nsswitch.conf and host.conf are opened. The man pages don't reveal anything about their relationship, so I guess I'll have to take a look at the glibc sources tonight. -Richard -- gentoo-user@gentoo.org mailing list