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? -- Paul (ganci at nurdog.com)
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 | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp Serendipity 22:21:55 up 1 day, 7:13, load average: 0.37, 0.19, 0.14 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://lists.centos.org/pipermail/centos/attachments/20060211/37709e9b/attachment-0002.sig>
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? -- Paul (ganci at nurdog.com)
Maybe Matching Threads
- named will not start after upgrade of CentOS
- rndc permission denied
- ISC's dhcp server, radvd and bind9 now adding samba as an AD DC
- BIND9/DNS lookups stopped working after upgrading our Comcast modem/gateway
- ISC's dhcp server, radvd and bind9 now adding samba as an AD DC