BIND

From Indie IT Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 127.0.0.1 port 953
 allow { 127.0.0.1; } keys { "rndc-key"; };
 };
  • Restart bind.