/etc/hosts
Sahil Tandon
sahil at tandon.net
Tue Sep 2 02:51:21 UTC 2008
Tom Marchand <m0rchand at comcast.net> wrote:
> Everything is set correctly in rc.conf. What I have noticed is that
> ping can resolve hosts from /etc/hosts.
If ping works then everything is fine in /etc/hosts. You haven't told us
what program you're using to resolve the 'test' hostname. If you're
using something like dig or nslookup, then this is expected behavior;
those programs are *supposed* to query the name server and do not read
/etc/hosts.
--
Sahil Tandon <sahil at tandon.net>
More information about the freebsd-questions
mailing list