Add designate-bind monitoring capability

This patch modifies Bind to listen also on localhost for rndc commands
so that monitoring agents can poll for status, and configuring Bind
to post statistical data in named.stats file.

	modified:   src/templates/named.conf
	modified:   src/templates/named.conf.options

Closes-Bug: #1752611
Change-Id: I219d29bfccb4565b8732882ee62aec9b847b3070
This commit is contained in:
Jakub Rohovsky 2018-03-02 13:37:41 +01:00
parent a178745bb2
commit b4d845279d
2 changed files with 3 additions and 0 deletions

View File

@ -11,5 +11,6 @@ include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
controls {
inet 127.0.0.1 allow {localhost;};
inet {{ dns_backend.control_listen_ip }} allow { {{ dns_backend.control_ips }}; };
};

View File

@ -26,5 +26,7 @@ options {
allow-new-zones yes;
request-ixfr no;
recursion no;
statistics-file "/var/cache/bind/named.stats";
zone-statistics yes;
allow-notify { {{ dns_backend.control_ips }}; };
};