From Indie IT Wiki
Jump to: navigation, search

The Berkley Internet Naming Daemon or DNS Server.

HOWTO: View DNS Cache

rndc dumpdb
wc -l /var/bind/named_dump.db
less /var/bind/named_dump.db

WARNING: key file (/etc/bind/rndc.key) exists, but using default configuration file (/etc/bind/rndc.conf)

The fix is simple:

  • In /etc/bind remove rndc.conf.
  • Add the following to /etc/bind/named.conf:
 include "/etc/bind/rndc.key";
 controls {
 inet port 953
 allow {; } keys { "rndc-key"; };
  • Restart bind.