From owner-freebsd-questions Sun Jul 4 14:22:44 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt054n86.san.rr.com (dt054n86.san.rr.com [24.30.152.134]) by hub.freebsd.org (Postfix) with ESMTP id AA75914BD7 for ; Sun, 4 Jul 1999 14:22:41 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt054n86.san.rr.com (8.8.8/8.8.8) with ESMTP id OAA14754; Sun, 4 Jul 1999 14:22:19 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <377FD08A.4F047C5A@gorean.org> Date: Sun, 04 Jul 1999 14:22:18 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Karl Pielorz Cc: "Art Neilson, KH7PZ" , freebsd-questions@FreeBSD.ORG Subject: Re: Caching only DNS server References: <3.0.6.32.19990703112453.0088ebc0@clients1.hawaii.rr.com> <377F796C.98CF0A3D@tdx.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Karl Pielorz wrote: > > "Art Neilson, KH7PZ" wrote: > > > > Is there a good doc somewhere which describes how to set up > > a caching only DNS server? I'm running FreeBSD 3.2-R and > > it uses the BIND idistribution for the DNS server. > > > > I think in the old named I could just code > > > > primary 0.0.127.in-addr.arpa db.127.0.0 > > cache . db.cache > > Have a look at http://www.isc.org/view.cgi?/products/BIND/ > > You'll need something similar to: > > forwarders { 1.2.3.4; }; > forward-only; > > In your 'options {}' section (where 1.2.3.4 is the IP of your upstream > nameserver). That would only be true if he wanted to set his named up as a forwarder. What most people mean by "caching only" is that the local named does the resolution and caches the responses, but it's not authoritative for any zones. On freebsd systems all you have to do is run the makerev script in /etc/namedb and then fire up named. I usually symlink /etc/namedb/named.conf to /etc/named.conf because I'm kind of a purist about such things, but that's not mandatory if you use '/usr/sbin/named -c /etc/namedb/named.conf' to start it. Good luck, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message