Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2005 08:28:00 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        questions@freebsd.org
Subject:   Re: cache-only named won't resolve "localhost"
Message-ID:  <mnwtmnxlrz.tmn@mail.opusnet.com>
In-Reply-To: <43000B38.8040002@daleco.biz> (Kevin Kinsey's message of "Sun, 14 Aug 2005 22:25:44 -0500")
References:  <4w1x4wyqkl.x4w@mail.opusnet.com> <43000B38.8040002@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Kinsey <kdk@daleco.biz> writes:

> Did you `sh /var/named/etc/namedb/make-localhost` ?

Yup, but that only handles the reverse translation (which works OK)
and, of course, doesn't handle other stuff I might have in "/etc/hosts".

I also have in /etc/nsswitch.conf:
    hosts: files dns

so I'd think domain resolution should look in /etc/hosts before
even checking my cache-only named.  Which it seems to do for "ping",
but not for "host", "nslookup", or "mozilla".

> Or, maybe I'm just not catching on.... :-(

Caching on?



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