Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 09:57:06 -0700
From:      Ted Faber <faber@ISI.EDU>
To:        Dwayne MacKinnon <Dwayne.MacKinnon@xwave.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: PUzzling sshd behaviour
Message-ID:  <20030905165706.GA24285@pun.isi.edu>
In-Reply-To: <3F58B9D6.7040102@xwave.com>
References:  <3F589E94.1080508@xwave.com> <20030905154646.GA59881@rot13.obsecurity.org> <3F58B3F4.3020502@xwave.com> <20030905161030.GC22913@pun.isi.edu> <3F58B9D6.7040102@xwave.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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 

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/WMBiaUz3f+Zf+XsRAgpFAKCYqT9PeZggPYEFaAlsNieYgxYrDQCfUWAZ
7uMH2zN5ewxIt8QwQvYYmbg=
=j40H
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905165706.GA24285>