From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 5 09:10:44 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 8237E16A4BF for ; Fri, 5 Sep 2003 09:10:44 -0700 (PDT) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id B07C244015 for ; Fri, 5 Sep 2003 09:10:43 -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 h85GAYn28906; Fri, 5 Sep 2003 09:10:34 -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 h85GAYY2023713; Fri, 5 Sep 2003 09:10:34 -0700 (PDT) (envelope-from faber@pun.isi.edu) Received: (from faber@localhost) by pun.isi.edu (8.12.9/8.12.9/Submit) id h85GAUkq023712; Fri, 5 Sep 2003 09:10:30 -0700 (PDT) Date: Fri, 5 Sep 2003 09:10:30 -0700 From: Ted Faber To: Dwayne MacKinnon Message-ID: <20030905161030.GC22913@pun.isi.edu> References: <3F589E94.1080508@xwave.com> <20030905154646.GA59881@rot13.obsecurity.org> <3F58B3F4.3020502@xwave.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wxDdMuZNg1r63Hyj" Content-Disposition: inline In-Reply-To: <3F58B3F4.3020502@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:10:44 -0000 --wxDdMuZNg1r63Hyj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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.) --wxDdMuZNg1r63Hyj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/WLV2aUz3f+Zf+XsRAgt8AKCJPftw+or7SF8NEfzBT9CoYT24gQCbB46/ J2FOnfgMLaoxwnweAFNdlng= =eoV9 -----END PGP SIGNATURE----- --wxDdMuZNg1r63Hyj--