From owner-freebsd-hackers Mon May 5 12:06:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA12639 for hackers-outgoing; Mon, 5 May 1997 12:06:30 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA12631 for ; Mon, 5 May 1997 12:06:25 -0700 (PDT) Received: from awfulhak.demon.co.uk (localhost.lan.awfulhak.org [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id TAA19979; Mon, 5 May 1997 19:58:58 +0100 (BST) Message-Id: <199705051858.TAA19979@awfulhak.demon.co.uk> X-Mailer: exmh version 1.6.9 8/22/96 To: Marko Schuetz cc: freebsd-hackers@freebsd.org Subject: Re: bind before hosts and iijppp... In-reply-to: Your message of "Mon, 05 May 1997 15:47:58 +0200." <199705051353.GAA25141@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 May 1997 19:58:58 +0100 From: Brian Somers Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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 , Don't _EVER_ lose your sense of humour....