How to dump the Bind DNS cache in Linux?
To dump or export the DNS cache of Bind server in Linux, issue following command:
rndc dumpdb -cache
Path of the dump file Centos chrooted bind is:
cat /var/named/chroot/var/named/data/cache_dump.db
Path may be different depending on your linux distribution.