Date: Tue, 06 Jun 2000 09:55:27 -0700 From: Doug Barton <DougB@gorean.org> To: Jose Monteiro <jm@sindigit.pt> Cc: Mick Gallagher <mick.gallagher@roke.co.uk>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Can I get BIND to use disk-based cache? Message-ID: <393D2CFF.B4223CF4@gorean.org> References: <D76D503DE976D1119C7E00A0C944D87501CA7FF2@RSYS002A> <20000605113104.F44716@sindigit.pt>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393D2CFF.B4223CF4>