Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 15:55:12 +0000
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ssh password delay
Message-ID:  <423EEE60.2050205@dial.pipex.com>
In-Reply-To: <b91c3de00503210635312b6a8e@mail.gmail.com>
References:  <423E116D.50805@usmstudent.com> <b91c3de00503210635312b6a8e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gary Smithe wrote:

>If that is your resolv.conf, then that explains some things.  Your box
>is looking at the ISP for name resolution and the ISP has no idea (nor
>could care) what your internal LAN address space is.  Change the
>resolv.conf to look at itself (127.0.0.1) and setup BIND with some
>simple DNS and RDNS records.  You could use pretty much any box on
>your network for DNS, but the key is that it has to know about the
>internal space.
>  
>
Or fix your /etc/host.conf to lookup in files first and then use DNS, 
then put your local network in /etc/hosts.  Much simpler for a small 
network.

E.g. /etc/host.conf

# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind


And /etc/hosts

192.168.0.1   myhost

Then leave resolv.conf alone.  It will be used for anything not in your 
local hosts file.

--Alex



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