Date: Wed, 5 Apr 2000 11:06:52 +1000 From: "John Saunders" <john@nlc.net.au> To: "Alexander Frolkin" <alexander@frolkin.demon.co.uk> Cc: "FreeBSD stable" <freebsd-stable@FreeBSD.ORG> Subject: Re: DNS/host file in 4.0-STABLE Message-ID: <001101bf9e9b$3c882ca0$4ab511cb@scitec.com.au> References: <01d901bf9de1$76940dc0$4ab511cb@scitec.com.au> <20000404183534.A1760@gamma>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, Apr 04, 2000 at 12:57:05PM +1000, John Saunders wrote:
> > While setting up a local named as a cache I came across some strange
> > behaviour in name lookups. It doesn't seem to consult the hosts file.
>
> Have a look at your /etc/host.conf. There should be a line which reads
> 'hosts' preceeding 'bind'.
Yes, that's what my original email said that I had. The default host.conf
file is set this way.
I have some more information, with ppp started (but link still down) the
problem happens. However if I kill ppp then it starts working (although
telnet reports no route to host as it should). So something about the
tun0 interface being up and/or the routes that ppp install is doing
this. However I don't understand how network things can affect simple
reading and parsing of the hosts file. I suspect that DNS action is
taking place even though host.conf has "hosts" listed first.
Cheers.
-- +------------------------------------------------------------+
. | John Saunders - mailto:john@nlc.net.au (EMail) |
,--_|\ | - http://www.nlc.net.au/ (WWW) |
/ Oz \ | - 02-9489-4932 or 041-822-3814 (Phone) |
\_,--\_/ | NORTHLINK COMMUNICATIONS P/L - Supplying a professional, |
v | and above all friendly, internet connection service. |
+------------------------------------------------------------+
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001101bf9e9b$3c882ca0$4ab511cb>
