From owner-freebsd-questions Tue Jan 28 7:43:48 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 53CA237B406 for ; Tue, 28 Jan 2003 07:43:46 -0800 (PST) Received: from mail.bellavista.cz (mail.bellavista.cz [62.168.44.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DB5643F93 for ; Tue, 28 Jan 2003 07:43:45 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 6642644B for ; Tue, 28 Jan 2003 15:41:47 +0100 (CET) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 7837C2FDCF9; Tue, 28 Jan 2003 15:39:17 +0100 (CET) Date: Tue, 28 Jan 2003 15:39:17 +0100 From: Roman Neuhauser To: freebsd-questions@FreeBSD.org Subject: Re: Caching nameserver question - I need a spot here . . . Message-ID: <20030128143917.GA896@freepuppy.bellavista.cz> Mail-Followup-To: freebsd-questions@FreeBSD.org References: <20030127221529.GB36301@keyslapper.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030127221529.GB36301@keyslapper.org> User-Agent: Mutt/1.5.1i 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 # 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. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message