Date: Sun, 28 Oct 2001 16:49:49 -0600 From: Henrik Hudson <lists@rhavenn.net> To: Philip Mak <pmak@aaanime.net>, <freebsd-questions@FreeBSD.ORG> Subject: Re: /etc/hosts part 2 Message-ID: <200110292244.f9TMill27461@ashram.rhavenn.net> In-Reply-To: <Pine.LNX.4.30.0110281733200.19082-100000@sg1.indexthis.net> References: <Pine.LNX.4.30.0110281733200.19082-100000@sg1.indexthis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110292244.f9TMill27461>