From owner-freebsd-questions Sun Oct 28 14:42:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ashram.rhavenn.net (ashram.rhavenn.net [209.150.195.50]) by hub.freebsd.org (Postfix) with ESMTP id 3783637B406 for ; Sun, 28 Oct 2001 14:42:53 -0800 (PST) Received: from there (6fd1eea4d437e5d58e16a4e1ea5ee306@gandalf.rhavenn.net [209.150.195.51]) by ashram.rhavenn.net (8.11.3/8.11.3) with SMTP id f9TMill27461; Mon, 29 Oct 2001 16:44:47 -0600 (CST) Message-Id: <200110292244.f9TMill27461@ashram.rhavenn.net> Content-Type: text/plain; charset="iso-8859-1" From: Henrik Hudson Reply-To: lists@rhavenn.net To: Philip Mak , Subject: Re: /etc/hosts part 2 Date: Sun, 28 Oct 2001 16:49:49 -0600 X-Mailer: KMail [version 1.3] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Try this in your /etc/hosts 65.119.108.130 db.buildreferrals.com db Remove the period after the .com Hope that works. TAB or spacing doesn't matter, as long as there IS a space as far as I remember. Henrik On Sunday 28 October 2001 16:35, Philip Mak wrote: > 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 -- Henrik Hudson lists@rhavenn.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message