From owner-freebsd-questions Tue Jun 6 9:56: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 2F29F37B58A for ; Tue, 6 Jun 2000 09:56:02 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id JAA21977; Tue, 6 Jun 2000 09:55:28 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <393D2CFF.B4223CF4@gorean.org> Date: Tue, 06 Jun 2000 09:55:27 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0603 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jose Monteiro Cc: Mick Gallagher , FreeBSD Questions Subject: Re: Can I get BIND to use disk-based cache? References: <20000605113104.F44716@sindigit.pt> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jose Monteiro wrote: > > On 05/06/00 10:39 WEST, Gallagher, Mick wrote: > > The problem is, it only seems to cache information in RAM; so cached > > information doesn't survive a reboot, or even stopping/restarting BIND. > > that's how BIND is supposed to work. Agreed..... reading the cache on startup would be a bad idea. > > And so how can I persuade BIND to use a disk-based cache? > > you can always dump the cache sending a SIGINT to named. grab the > data from the dumpfile and append it to the hints file. it will be > read by named on startup. It won't, actually, nor should it. The cost of the network traffic to restore the cache for the sites you visit often should be small. Sites you don't visit often should be looked up again anyway. The original poster should look at configuring his nameserver as a forwarder (not forwarder only) so that he can take advantage of his ISP's resolver instead. Good luck, Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message