From owner-freebsd-current Sun Nov 3 5:39:51 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 B6C0F37B401 for ; Sun, 3 Nov 2002 05:39:49 -0800 (PST) Received: from 12-234-90-219.client.attbi.com (12-234-90-219.client.attbi.com [12.234.90.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B18043E88 for ; Sun, 3 Nov 2002 05:39:49 -0800 (PST) (envelope-from DougB@FreeBSD.org) Received: from FreeBSD.org (master.gorean.org [10.0.0.2]) by 12-234-90-219.client.attbi.com (8.12.6/8.12.6) with ESMTP id gA3DdmmX032868 for ; Sun, 3 Nov 2002 05:39:48 -0800 (PST) (envelope-from DougB@FreeBSD.org) Message-ID: <3DC52724.52A75A@FreeBSD.org> Date: Sun, 03 Nov 2002 05:39:48 -0800 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-current@FreeBSD.org Subject: Can't resolve hosts via dns on the command line with latest -current Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Howdy, With -current built from sources updated at around 8pm PST, I can't resolve hosts on the command line if /etc/resolv.conf points to a name server running on the local host. The local name server itself is working fine, and I can reach any host in /etc/hosts as well. ktrace /sbin/ping hub.freebsd.org ^C kdump 651 ktrace RET ktrace 0 651 ktrace CALL execve(0xbfbffb03,0xbfbff9e4,0xbfbff9f0) 651 ktrace NAMI "/sbin/ping" /etc/nsswitch.conf is unchanged, and contains only: hosts: files dns It doesn't matter if /etc/resolv.conf points to 127.0.0.1, or the IP of the box. As soon as I point /etc/resolv.conf at a name server on another host, it works. My -current system from last weekend worked just fine. Doug -- "We have known freedom's price. We have shown freedom's power. And in this great conflict, ... we will see freedom's victory." - George W. Bush, President of the United States State of the Union, January 28, 2002 Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message