From owner-freebsd-questions Fri May 3 16:53:47 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA21819 for questions-outgoing; Fri, 3 May 1996 16:53:47 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA21814 for ; Fri, 3 May 1996 16:53:45 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id QAA15143; Fri, 3 May 1996 16:44:02 -0700 From: Terry Lambert Message-Id: <199605032344.QAA15143@phaeton.artisoft.com> Subject: Re: named / DNS for part time internet To: abseil@thehub.com.au (Greg Laslett) Date: Fri, 3 May 1996 16:44:01 -0700 (MST) Cc: questions@FreeBSD.org In-Reply-To: <01BB3991.615AC380@dd04.thehub.com.au> from "Greg Laslett" at May 4, 96 08:11:00 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > If I enable 'named' in sysconfig then hostname resolution 'Stops' and I = > can't start PPP. With 'named' turned off in sysconfig. I can start my = > PPP connect manually after bootup and then also start 'named'. > > Can 'named' or an alternative be configured to handle coming and going = > PPP connections so that I get Domain/Host name resolution while I'm = > connected but reverts to say '/etc/hosts' when I'm not ? It defaults to the search order in /etc/host.conf. Just configure the "hosts" search first in the list: Example: ========================================================================== # $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $ # Default is to use the /etc/hosts file first hosts # If that doesn't work, then try the nameserver bind # If you have YP/NIS configured, uncomment the next line # nis ========================================================================== In this configuration, it will try to get to the resolver if the name isn't in /etc/hosts, so if you typo or semething, it won't be able to tell that from a legitimate request to get to the ppp server. It also won't fix sendmail trying to reverse lookup cannonical names on mail message if you locally deliver mail. Since tcsh will always reference the local host, it should fix "login == ppp" for the most common cases. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.