summaryrefslogtreecommitdiff
path: root/roles/install_bind/templates/named.conf.j2
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2020-08-24 10:32:50 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2020-08-24 10:32:50 +0200
commit74ca81df467c8fb24c0f6b8da333f252f0210a10 (patch)
tree7a8f0270767fd6ebd77b27341e7f14cd58abab4f /roles/install_bind/templates/named.conf.j2
parent36440dcf2ac230be781d9cb72b911552b7c4903b (diff)
munin: collect bind stats
Diffstat (limited to 'roles/install_bind/templates/named.conf.j2')
-rw-r--r--roles/install_bind/templates/named.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/install_bind/templates/named.conf.j2 b/roles/install_bind/templates/named.conf.j2
index 15af2e7..4704eee 100644
--- a/roles/install_bind/templates/named.conf.j2
+++ b/roles/install_bind/templates/named.conf.j2
@@ -29,6 +29,10 @@ options {
server-id none;
};
+statistics-channels {
+ inet 127.0.0.1 port 8053 allow { 127.0.0.1; };
+};
+
zone "localhost" IN {
type master;
file "localhost.zone";