LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-08-2015, 05:53 AM   #1
grigory
Member
 
Registered: Oct 2015
Posts: 133

Rep: Reputation: Disabled
Need some explanation about BIND9 cache


Hello!

Cache of BIND is kinda of a "Black hole" for me. I know about TTL and that it can be overridden. I know that there's a way to dump cache into a file that could be viewed in a text editor. But, still, lots of things are in the dark. I've read that once you reboot, the cache is lost. Then why to build the cache from scratch each time you turn on your computer? What, like BIND's building its cache for a few hours when the server is on and then simply loose it? That doesn't make sense. Why it can't be kept in a file or in a database? Is it a limitation or something good? Unfortunately, I didn't find in books or on the Internet clear information about all of this. So please explain it to me in simple English OR just provide the links to the relevant source of information.
P.S. I think I know the answer to my own question. I mean, normally you would have a production DNS server in some server farm where it's very rarely happens when the DNS servers would be shut down. Most likely queries' TTL's expire faster than that.

Last edited by grigory; 11-08-2015 at 08:26 AM.
 
Old 11-08-2015, 08:28 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
The cache is in memory, if I am not wrong (reference: BIND 9 Administrator Reference Manual). And a DNS server in production won't be rebooted every few hours (I have no reference for that).

Last edited by berndbausch; 11-08-2015 at 08:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't find firefox-cache afther try to put cache-dir into /dev/shm wubai Linux - Software 7 03-02-2013 03:52 AM
LXer: How To Patch BIND9 Against DNS Cache Poisoning (Debian/Fedora/CentOS) LXer Syndicated Linux News 0 07-29-2008 02:00 PM
openSUSE 10: Samba failed to create the cache directory in /var/cache mianmajidali Linux - Server 0 05-09-2008 02:00 AM
Error: Caching enabled and local cache: //var/cache/yum/base/primary.xml.gz does... dr_zayus69 Linux - Software 2 07-06-2005 04:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration