[CentOS] Caching DNS question

Sat Feb 11 21:23:16 UTC 2006
Alexander Dalloz <ad+lists at uni-x.org>

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-0005.sig>