Bind cache - hobbyist's silly question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Iain M Lee wrote:
> I'm running the Bind nameserver on CentOS 4.2. Can anyone tell me where
> the cached lookups are stored and whether there is a way to view them?

If you have RNDC configured (can't remember if it is by default) then it 
will output the named cache to a local file.

$ rndc dumbdb

That will create a file (configurable in /etc/named.conf) containing the 
named cache (mine is /var/named/data/cache_dumb.db, don't remember if 
this is the default).

This will not clear the current cache in RAM, just output it to file.

Hope that helps,
Andrew

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux