*BSD News Article 85557


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!www.nntp.primenet.com!nntp.primenet.com!nntp.uio.no!news.apfel.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP and Nameservers / Need advice
Date: 23 Dec 1996 22:03:00 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <59mvik$790@uriah.heep.sax.de>
References: <32B1DC3C.1A2A@videotron.ca> <32B30B4E.12DF@videotron.ca>
  <58vjhk$lnr@newshost.lanl.gov>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33060

crs@lanl.gov (Charlie Sorsby) wrote:

> In a similar vein, must all name servers listed in /etc/resolv.conf
> be known to all ppp servers?  Suppose that one sometimes uses ppp
> (user process) to connect to either of two different machines.  Is
> there a problem is nameserver lines for both of those networks
> appear simultaneously in the file?

It would be the best for you to setup a local nameserver, and add both
IP addresses as forwarders.  You benefit from the caching abilities of
your local nameserver.  Setting up a slave name server is fairly
trivial:

	cd /etc/namedb
	sh make-localhost
	cat > named.boot <<-EOF
	directory	/etc/namedb
	primary		127.in-addr.arpa	localhost.rev
	forwarders xxx yyy
	slave
	EOF

Replace `xxx' and `yyy' above with your forwarding nameservers' IP
addresses.  Edit /etc/sysconfig to start up named by default.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)