From owner-freebsd-questions Sun Oct 28 14:35:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sg1.indexthis.net (sg1.indexthis.net [66.33.60.115]) by hub.freebsd.org (Postfix) with ESMTP id 02B8737B408 for ; Sun, 28 Oct 2001 14:35:40 -0800 (PST) Received: from localhost (pmak@localhost) by sg1.indexthis.net (8.9.3/8.9.3) with ESMTP id RAA03467 for ; Sun, 28 Oct 2001 17:35:27 -0500 Date: Sun, 28 Oct 2001 17:35:26 -0500 (EST) From: Philip Mak X-Sender: To: Subject: /etc/hosts part 2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Well, this is very strange. I've checked my host.conf file, and it says "hosts" before "bind". I tried killing the nameserver on my machine and then doing some domain lookups. Now I get: server1# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain 65.119.108.130 db db.buildreferrals.com 65.119.108.130 db.buildreferrals.com. db 65.119.108.130 db db.buildreferrals.com. server1# host localhost Host not found, try again. server1# host db Host not found, try again. It seems like /etc/hosts isn't being read at all, or something! Or did I make a syntax error when creating /etc/hosts perhaps? (Note: The entries are tab separated.) (The multiple entries for the "db" host in /etc/hosts were due to my trying different syntaxes.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message