PUzzling sshd behaviour

Ted Faber faber at ISI.EDU
Fri Sep 5 09:10:44 PDT 2003


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. I thought 
> listings in /etc/hosts would supercede the need for a DNS lookup. Of 
> course, I could be wrong... it wouldn't be the first time. :-)

If you haven't you need to check out /etc/host.conf , the file that
configures the hostname lookup order (at least on 4.8).  
man 5 host.conf will tell you all about it.  If you have already
configured this, you might want to look again.  (man -k resolver should
help you find whatever it is on 5.x - I suspect it's nsswitch.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030905/98172fdb/attachment.bin


More information about the freebsd-hackers mailing list