From owner-freebsd-questions Thu Feb 14 16: 7:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id D354437B400 for ; Thu, 14 Feb 2002 16:07:38 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 8CBD22B6AF; Fri, 15 Feb 2002 01:07:35 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id 3D1C056B; Fri, 15 Feb 2002 11:07:26 +1100 (EST) Date: Fri, 15 Feb 2002 11:07:26 +1100 From: Edwin Groothuis To: Hal Lynch Cc: FreeBSD Questions Subject: Re: /etc/hosts vs nslookup Message-ID: <20020215110726.L494@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Hal Lynch , FreeBSD Questions 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.5.1i 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 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? See /etc/host.conf for the order. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message