Bind

From KeegansWiki
Jump to: navigation, search

Errors

Permissions Troubles

Nov  1 08:29:45 dc3ns1int named[2153]: Could not open '/var/run/named/named-int.pid'.
Nov  1 08:29:45 dc3ns1int named[2153]: Please check file and directory permissions or reconfigure the filename.
Nov  1 08:29:45 dc3ns1int named[2153]: could not open file '/var/run/named/named-int.pid': Permission denied
Nov  1 08:29:45 dc3ns1int named[2153]: unlink '/var/run/named/named-int.pid': failed

Check Selinux.

rndc-confgen hangs forever

rndc-confgen -a -c /etc/rndc.conf -b 256 -r /dev/urandom Source

Denied Queries

client 10.245.114.129#44155: query 'www.traderonline.com/A/IN' denied

Edit /etc/named.conf for the allow-queries directives to allow from the proper network, or just remove it.