From owner-freebsd-questions Thu Feb 14 16:16:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 8D66637B402 for ; Thu, 14 Feb 2002 16:16:50 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020215001650.JWTS2626.rwcrmhc51.attbi.com@blossom.cjclark.org>; Fri, 15 Feb 2002 00:16:50 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1F0GoL37471; Thu, 14 Feb 2002 16:16:50 -0800 (PST) (envelope-from cjc) Date: Thu, 14 Feb 2002 16:16:50 -0800 From: "Crist J. Clark" To: Hal Lynch Cc: FreeBSD Questions Subject: Re: /etc/hosts vs nslookup Message-ID: <20020214161650.F36782@blossom.cjclark.org> References: <8251D08A-21A7-11D6-9E04-0050E490FD5B@cc.usu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <8251D08A-21A7-11D6-9E04-0050E490FD5B@cc.usu.edu>; from hal@cc.usu.edu on Thu, Feb 14, 2002 at 05:03:58PM -0700 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 14, 2002 at 05:03:58PM -0700, Hal Lynch wrote: > Suppose I ssh to host a.b.c.d. How is the actual IP address found? > > Does the software look first in my /etc/hosts file and only if a.b.c.d > is not there ask my nameserver? Or does it just ask the nameserver > no matter what? > > The latter seems to be the case. If so is there anything I can do > about it? more /etc/host.conf -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message