On Fri, Sep 05, 2003 at 12:29:10PM -0400, Dwayne MacKinnon wrote: > Ted Faber wrote: > >On Fri, Sep 05, 2003 at 12:04:04PM -0400, Dwayne MacKinnon wrote: > >>That much I know. I was just wondering why the daemon is trying DNS > >>lookup when the IP in question is listed in /etc/hosts. > > > >If you haven't you need to check out /etc/host.conf > > My host.conf is a FreeBSD 4.8 default one: it lists hosts, then bind. > That's why I don't understand why it's doing DNS... there's a listing in > hosts, and according to host.conf the hosts listing should be found first.
I'll bet that the problem is with the format of your /etc/hosts . Check out the man page (man 5 hosts) and plink with it until it does what you want. Sometimes the lookups through /etc/hosts are counterintuitive - for example I've had problems related to the order of names and aliases. -- Ted Faber Info: http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG
pgp00000.pgp
Description: PGP signature