Date: Tue, 28 Jan 2003 10:52:10 -0500 From: Louis LeBlanc <leblanc+freebsd@keyslapper.org> To: freebsd-questions@FreeBSD.org Subject: Re: Caching nameserver question - I need a spot here . . . Message-ID: <20030128155210.GB41066@keyslapper.org> In-Reply-To: <20030128143917.GA896@freepuppy.bellavista.cz> References: <20030127221529.GB36301@keyslapper.org> <20030128143917.GA896@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/28/03 03:39 PM, Roman Neuhauser sat at the `puter and typed: > # leblanc+freebsd@keyslapper.org / 2003-01-27 17:15:29 -0500: > > Hey all. I'm finally getting around to setting up a caching dns > > server. Pretty confusing from my angle. > > > > Here's what I have so far: > > named enaabled in /etc/rc.conf > > cd to /etc/namedb and run sh make-localhost > > > > and the following in /etc/namedb/named.conf: > > > > options { > > directory "/etc/namedb"; > > forward first; > > forwarders { > > 151.203.0.84; > > 151.202.0.84; > > }; > > listen-on { 10.8.20.5; }; > > version "surely you must be joking" > > query-source address * port 53; > > }; > > > > > > zone "." { > > type hint; > > file "named.root"; > > }; > > > > zone "0.0.127.IN-ADDR.ARPA" { > > type master; > > file "localhost.rev"; > > }; > > are you setting up a cache, or an authoritative server? > IOW, do you want Bind to resolve names for clients (they'll will > have it in /etc/resolv.conf and equivalents), or do you want it to > publish names? > > You are doing both, but if you want to have this Bind resolving > names for clients (external cache), being authoritative for > 0.0.127.in-addr.arpa doesn't IMO make sense. > I want just a caching nameserver. If I understand correctly, you are suggesting I remove the 0.0.127.IN-ADDR.ARPA zone. So I should only have the hint zone, right? Thanks for your comments, Roman. Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Prototype designs always work. -- Don Vonada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030128155210.GB41066>