From owner-freebsd-questions Tue Jan 28 7:52:12 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA7CF37B401 for ; Tue, 28 Jan 2003 07:52:10 -0800 (PST) Received: from pop017.verizon.net (pop017pub.verizon.net [206.46.170.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D8B243F75 for ; Tue, 28 Jan 2003 07:52:10 -0800 (PST) (envelope-from leblanc@keyslapper.org) Received: from keyslapper.org ([68.160.24.118]) by pop017.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20030128155209.VZJG10203.pop017.verizon.net@keyslapper.org> for ; Tue, 28 Jan 2003 09:52:09 -0600 Received: from keyslapper.org (localhost [127.0.0.1]) by keyslapper.org (8.12.3/8.12.3) with ESMTP id h0SFqAO2043006 for ; Tue, 28 Jan 2003 10:52:10 -0500 (EST) (envelope-from leblanc@keyslapper.org) Received: (from leblanc@localhost) by keyslapper.org (8.12.3/8.12.3/Submit) id h0SFqAN1043005 for freebsd-questions@FreeBSD.org; Tue, 28 Jan 2003 10:52:10 -0500 (EST) Date: Tue, 28 Jan 2003 10:52:10 -0500 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org Subject: Re: Caching nameserver question - I need a spot here . . . Message-ID: <20030128155210.GB41066@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: freebsd-questions@FreeBSD.org References: <20030127221529.GB36301@keyslapper.org> <20030128143917.GA896@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030128143917.GA896@freepuppy.bellavista.cz> User-Agent: Mutt/1.5.3i X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [68.160.24.118] at Tue, 28 Jan 2003 09:52:09 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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