I have caching-nameserver-7.3-3 installed on a Centos 4.2 system. The named.conf file which comes with the install has the following options:
options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; <comments snipped> };
However, when I look in /var/named/data there is nothing there and for that matter I can't find the dump-file or statistics-file anywhere on the hard drive. I didn't think there was any post install config for caching-nameserver-7.3-3. Is there something I am missing regarding the basic caching-nameserver install that I don't see a dump-file and/or statistics-file?
On Sat, 2006-02-11 at 12:19 -0700, Paul R. Ganci wrote:
I have caching-nameserver-7.3-3 installed on a Centos 4.2 system. The named.conf file which comes with the install has the following options:
options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt";
<comments snipped> };
However, when I look in /var/named/data there is nothing there and for that matter I can't find the dump-file or statistics-file anywhere on the hard drive. I didn't think there was any post install config for caching-nameserver-7.3-3. Is there something I am missing regarding the basic caching-nameserver install that I don't see a dump-file and/or statistics-file?
---- check /var/named/chroot/var/named/data
Craig
Am Sa, den 11.02.2006 schrieb Paul R. Ganci um 20:19:
I have caching-nameserver-7.3-3 installed on a Centos 4.2 system. The named.conf file which comes with the install has the following options:
options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt";
<comments snipped> };
However, when I look in /var/named/data there is nothing there and for that matter I can't find the dump-file or statistics-file anywhere on the hard drive. I didn't think there was any post install config for caching-nameserver-7.3-3. Is there something I am missing regarding the basic caching-nameserver install that I don't see a dump-file and/or statistics-file?
Those files aren't created automatically. The options settings only tell bind where to store them. Run
rndc stats rndc dumpdb
and you'll have those 2 output files.
Alexander
Alexander Dalloz wrote:
Those files aren't created automatically. The options settings only tell bind where to store them. Run
rndc stats rndc dumpdb
Thanks, I was afraid I was missing something. I could not find much on them Googling. The named_stats.txt file contents seem obvious and while there is a "rndc dumpdb" I don't see a corresponding "rndc loaddb"? So there seems to be no way to use the cache dump snapshot for a backup purpose. Therefore, what purpose does the cache_dump.db file serve?