From owner-freebsd-current Mon Nov 4 18:39:23 2002 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 1454F37B401; Mon, 4 Nov 2002 18:39:22 -0800 (PST) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B4943E77; Mon, 4 Nov 2002 18:39:21 -0800 (PST) (envelope-from kbyanc@posi.net) Received: from gateway.posi.net (adsl-63-201-92-224.dsl.snfc21.pacbell.net [63.201.92.224]) by pimout3-ext.prodigy.net (8.12.3 da nor stuldap/8.12.3) with ESMTP id gA52cwDq576922; Mon, 4 Nov 2002 21:38:59 -0500 Received: from localhost (localhost [127.0.0.1]) by gateway.posi.net (8.12.6/8.12.5) with ESMTP id gA52cvOQ050869; Mon, 4 Nov 2002 18:38:57 -0800 (PST) (envelope-from kbyanc@posi.net) Date: Mon, 4 Nov 2002 18:38:57 -0800 (PST) From: Kelly Yancey To: Giorgos Keramidas Cc: freebsd-current@FreeBSD.org, Subject: Re: Can't resolve hosts via dns on the command line with latest -current In-Reply-To: <20021105011204.GD17380@gray.sea.gr> Message-ID: <20021104182051.S50848-100000@gateway.posi.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 5 Nov 2002, Giorgos Keramidas wrote: > On 2002-11-04 10:45, Kelly Yancey wrote: > > On Mon, 4 Nov 2002, Giorgos Keramidas wrote: > > > True. I had been seeing problems with network connections the last > > > days, and was already in the process of backing out changes one by one > > > when I saw this. Reverting 1.134 fixes things here. If I put it back > > > in, strange DNS failures start causing troubles with almost everything > > > (including Sendmail, fetchmail, ssh). > > > > I've had this running on multiple machines for weeks without > > problems. What is your resolve.conf and nsswitch.conf? Curious, > > I am running a local named that listens on { 127.0.0.1; }. > > My nsswitch.conf contains: > > hosts: files dns > > and resolv.conf is: > > search sea.gr freebsd.org irc.gr ceid.upatras.gr > nameserver 127.0.0.1 > > The curious thing is that Sendmail or ssh fail to look up hostnames, > while running host(1) works. I don't know if this is of any help, but > if you need more data about the local setup let me know. > > Thanks for looking into this, > Giorgos. > Thanks for the info. Are you sure that you only reverted the one delta? Oddly, when I do the same I still have trouble resolving via localhost (i.e. with or without revision 1.134). I can only get DNS via localhost working again by explicitely adding 127.0.0.1 to lo0. If anything I suspect that something is preventing 127.0.0.1 from being assigned to lo0 at boot (maybe my commit, but I don't see how). But again, I'm still looking into it. :| Kelly -- Kelly Yancey -- kbyanc@{posi.net,FreeBSD.org} Visit the BSD driver database: http://www.posi.net/freebsd/drivers/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message