diff options
author | Mike Crute <mike@crute.us> | 2022-12-03 15:57:42 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2022-12-03 15:57:42 -0800 |
commit | 220a2f4dab2296a5d79febceb18584772d96ac0e (patch) | |
tree | ddc855a60a75f7d0a55d3df254b014dab1968772 | |
parent | fc29b21e590bf699a0bea0c06313caf68e5dc1a7 (diff) | |
download | dockerfiles-220a2f4dab2296a5d79febceb18584772d96ac0e.tar.bz2 dockerfiles-220a2f4dab2296a5d79febceb18584772d96ac0e.tar.xz dockerfiles-220a2f4dab2296a5d79febceb18584772d96ac0e.zip |
bind: cleanup monitoring hosts
-rw-r--r-- | bind/conf/named.conf | 15 |
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 | ||
63 | statistics-channels { | 63 | statistics-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 | ||
68 | controls { | 71 | controls { |
@@ -83,4 +86,12 @@ acl internal-nets { | |||
83 | 2602:0803:4000::/40; | 86 | 2602:0803:4000::/40; |
84 | }; | 87 | }; |
85 | 88 | ||
89 | acl 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 | |||
86 | include "/etc/bind/local/named.conf"; | 97 | include "/etc/bind/local/named.conf"; |