/etc/hosts isn't being read

Josh Paetzel josh at tcbug.org
Thu Apr 13 16:30:03 UTC 2006


On Thursday 13 April 2006 11:11, Wojciech Puchar wrote:
> > shells: files
> >
> > $ host example
> > Host example not found: 3(NXDOMAIN)
>
> "host" command always use DNS. try ping, telnet, whatever use IP
> connections
>
> > $ host example.example.org
> > Host example not found 3(NXDOMAIN)
> >
> > What am I doing wrong here that is keeping /etc/hosts from being
> > read?

Ok...That solved my hostname resolution issues.  Now the next issue is 
why it takes ssh 60 seconds to give me a password prompt.  I thought 
that was always caused by not having name resolution working.  Any 
thoughts on this issue?

-- 
Thanks,

Josh Paetzel


More information about the freebsd-questions mailing list