Date: Sun, 28 Oct 2001 17:35:26 -0500 (EST) From: Philip Mak <pmak@aaanime.net> To: <freebsd-questions@freebsd.org> Subject: /etc/hosts part 2 Message-ID: <Pine.LNX.4.30.0110281733200.19082-100000@sg1.indexthis.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.30.0110281733200.19082-100000>