Monday, April 14, 2014

BIND : Enable statistics

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

Solution:

1. Add this statement statistics-file "/var/cache/bind/named.stats"; to /etc/bind/named.conf

2.Remove or rename rndc.conf in /etc/bind

3. 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"; };
};

4.Restart bind.

Source : http://www.rainingpackets.com/bind-rndc-error-debian-ubuntu/

Related Posts:

  • BIND : DNS Issue #1Q:Why do I get errors like "dns_zone_load: zone foo/IN: loading master file bar: ran out of space"?A:This is often caused by TXT records with missing … Read More
  • BIND : DNS IssueIssue 1 : isc_stdio_open '/var/log/named/named_security.log' failed: permission denied Solutions  :chown -R bind:root /var/log/namedchmod -R 77… Read More
  • Prometheus and Grafana : Monitor BIND DNS server 1.Pre-requisites- BIND need to have been build with libxml2 support# named -V | grep libxml22.Installed Bind Prometheus Exporter- Download the l… Read More
  • BIND : DNS Issue #5 Issue:dnssec: info: validating 83.0.11.10.in-addr.arpa/PTR: bad cache hit (10.in-addr.arpa/DS) lame-servers: info: broken trust chain resolving … Read More
  • BIND : DNS Issue #41. Issue - resolving a local domain name to an IP address fails with:> 192.168.1.3Server:         127.0.0.1… Read More

0 comments:

Post a Comment