aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2022-12-03 15:57:42 -0800
committerMike Crute <mike@crute.us>2022-12-03 15:57:42 -0800
commit220a2f4dab2296a5d79febceb18584772d96ac0e (patch)
treeddc855a60a75f7d0a55d3df254b014dab1968772
parentfc29b21e590bf699a0bea0c06313caf68e5dc1a7 (diff)
downloaddockerfiles-220a2f4dab2296a5d79febceb18584772d96ac0e.tar.bz2
dockerfiles-220a2f4dab2296a5d79febceb18584772d96ac0e.tar.xz
dockerfiles-220a2f4dab2296a5d79febceb18584772d96ac0e.zip
bind: cleanup monitoring hosts
-rw-r--r--bind/conf/named.conf15
1 files changed, 13 insertions, 2 deletions
diff --git a/bind/conf/named.conf b/bind/conf/named.conf
index ceba546..54b3ace 100644
--- a/bind/conf/named.conf
+++ b/bind/conf/named.conf
@@ -61,8 +61,11 @@ logging {
61}; 61};
62 62
63statistics-channels { 63statistics-channels {
64 inet 127.0.0.1 port 8053 allow { localhost; }; 64// inet 127.0.0.1 port 8053 allow { monitoring-hosts; };
65 inet ::1 port 8053 allow { localhost; }; 65// inet ::1 port 8053 allow { monitoring-hosts; };
66
67 inet 0.0.0.0 port 8053 allow { monitoring-hosts; };
68 inet :: port 8053 allow { monitoring-hosts; };
66}; 69};
67 70
68controls { 71controls {
@@ -83,4 +86,12 @@ acl internal-nets {
83 2602:0803:4000::/40; 86 2602:0803:4000::/40;
84}; 87};
85 88
89acl monitoring-hosts {
90 localhost;
91
92 // monitoring-1.sea1.crute.me
93 172.16.0.64/32;
94 2602:803:4070:0:5054:9fff:fe55:2cb3/128;
95};
96
86include "/etc/bind/local/named.conf"; 97include "/etc/bind/local/named.conf";