Eddorre.com

Viewing BIND9's Cache


I’m posting this mostly for my own benefit so that I don’t forget but I have a feeling that it might help some wayward folks. Ever time my DNS server does some weird negative caching, I want to view the cache but I can never remember the command to do so.

In order dump the cache out to disk, use the command rndc dumpdb (BIND 9) and ndc dumpdb (BIND 8). This will output a file to /var/cache/bind/named_dump.db (On Debian Etch that is).


Comments

Add Your Comment





end kanji