Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 1997 19:58:58 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Marko Schuetz <marko@ki.informatik.uni-frankfurt.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: bind before hosts and iijppp... 
Message-ID:  <199705051858.TAA19979@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Mon, 05 May 1997 15:47:58 %2B0200." <199705051353.GAA25141@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I observed that /etc/host.conf specifies bind before hosts. When
> connected to via ethernet this does not make a noticeable (by me)
> difference, but when I run 'ppp -auto isp' a connection to isp is
> dialed even for name lookup of localhost. 
> 
> Maybe a better policy would be to have as few as possible entries in
> /etc/hosts, but have /etc/host.conf default to hosts before bind.

This would probably be a better default.  Your best bet IMHO is to
add a dfilter to stop routed (if running) and named from triggering
the dial.

> Marko

-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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