From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 5 09:57:10 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DD8E16A4BF for ; Fri, 5 Sep 2003 09:57:10 -0700 (PDT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C2F443F93 for ; Fri, 5 Sep 2003 09:57:09 -0700 (PDT) (envelope-from faber@ISI.EDU) Received: from pun.isi.edu (pun.isi.edu [128.9.160.150]) by boreas.isi.edu (8.11.6p2/8.11.2) with ESMTP id h85Gv6n28032; Fri, 5 Sep 2003 09:57:06 -0700 (PDT) Received: from pun.isi.edu (localhost [127.0.0.1]) by pun.isi.edu (8.12.9/8.12.9) with ESMTP id h85Gv6Y2024415; Fri, 5 Sep 2003 09:57:06 -0700 (PDT) (envelope-from faber@pun.isi.edu) Received: (from faber@localhost) by pun.isi.edu (8.12.9/8.12.9/Submit) id h85Gv6Cs024414; Fri, 5 Sep 2003 09:57:06 -0700 (PDT) Date: Fri, 5 Sep 2003 09:57:06 -0700 From: Ted Faber To: Dwayne MacKinnon Message-ID: <20030905165706.GA24285@pun.isi.edu> References: <3F589E94.1080508@xwave.com> <20030905154646.GA59881@rot13.obsecurity.org> <3F58B3F4.3020502@xwave.com> <20030905161030.GC22913@pun.isi.edu> <3F58B9D6.7040102@xwave.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <3F58B9D6.7040102@xwave.com> User-Agent: Mutt/1.4.1i X-url: http://www.isi.edu/~faber cc: freebsd-hackers@freebsd.org cc: Kris Kennaway Subject: Re: PUzzling sshd behaviour X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 16:57:10 -0000 --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--