Date: Fri, 3 May 1996 16:44:01 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: abseil@thehub.com.au (Greg Laslett) Cc: questions@FreeBSD.org Subject: Re: named / DNS for part time internet Message-ID: <199605032344.QAA15143@phaeton.artisoft.com> In-Reply-To: <01BB3991.615AC380@dd04.thehub.com.au> from "Greg Laslett" at May 4, 96 08:11:00 am
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605032344.QAA15143>