Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 11:07:26 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Hal Lynch <hal@cc.usu.edu>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: /etc/hosts vs nslookup
Message-ID:  <20020215110726.L494@k7.mavetju.org>
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
References:  <8251D08A-21A7-11D6-9E04-0050E490FD5B@cc.usu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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