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:
parent
a178745bb2
commit
b4d845279d
|
@ -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 }}; };
|
||||
};
|
||||
|
|
|
@ -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 }}; };
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue