BIND
From Indie IT Wiki
Revision as of 17:02, 5 November 2013 by imported>Plittlefield (→WARNING: key file (/etc/bind/rndc.key) exists, but using default configuration file (/etc/bind/rndc.conf))
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.