From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 02:51:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52121106566C for ; Tue, 2 Sep 2008 02:51:21 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from aegis.hamla.org (aegis.hamla.org [206.251.255.39]) by mx1.freebsd.org (Postfix) with ESMTP id 3832E8FC18 for ; Tue, 2 Sep 2008 02:51:21 +0000 (UTC) (envelope-from sahil@tandon.net) Received: from localhost (localhost [127.0.0.1]) by aegis.hamla.org (Postfix) with ESMTP id 238DE5C6B; Mon, 1 Sep 2008 22:51:21 -0400 (EDT) X-Virus-Scanned: by ClamAV at aegis.hamla.org Received: from aegis.hamla.org ([127.0.0.1]) by localhost (aegis.hamla.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fXbV2ft8D5KR; Mon, 1 Sep 2008 22:51:19 -0400 (EDT) Date: Mon, 1 Sep 2008 22:51:17 -0400 From: Sahil Tandon To: Tom Marchand Message-ID: <20080902025117.GB15296@shepherd> References: <7A686BAC-2F03-4B18-8307-83DDAD949625@comcast.net> <6.0.0.22.2.20080901192043.02547628@mail.computinginnovations.com> <6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6E5D2FC9-A4A7-47B1-83D4-3B2ACA2F4139@comcast.net> Cc: freebsd-questions@freebsd.org Subject: Re: /etc/hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "freebsd-questions@freebsd.org" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 02:51:21 -0000 Tom Marchand wrote: > Everything is set correctly in rc.conf. What I have noticed is that > ping can resolve hosts from /etc/hosts. If ping works then everything is fine in /etc/hosts. You haven't told us what program you're using to resolve the 'test' hostname. If you're using something like dig or nslookup, then this is expected behavior; those programs are *supposed* to query the name server and do not read /etc/hosts. -- Sahil Tandon