Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 12:12:35 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: /etc/hosts isn't being read
Message-ID:  <20060413171235.GA21409@Grumpy.DynDNS.org>
In-Reply-To: <17470.33211.510772.502072@jerusalem.litteratus.org>
References:  <200604131055.19504.josh@tcbug.org> <20060413181037.E95399@chylonia.3miasto.net> <200604131124.17513.josh@tcbug.org> <17470.33211.510772.502072@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 13, 2006 at 12:52:11PM -0400, Robert Huff wrote:
> 
> 	You may have solved one name resolution problem; have you
> solved them all?
> 	The "N second delay" problem is usually caused by something
> trying to do a reverse name look-up.  You either need to disable
> this, or make sure reverse look-ups work.

% man nsswitch.conf

Make sure /etc/nsswitch.conf lists "hosts: files dns" in that order to
search the /etc/hosts file before DNS.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



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