summaryrefslogtreecommitdiff
path: root/roles/network/bind/templates/stats.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/network/bind/templates/stats.j2')
-rw-r--r--roles/network/bind/templates/stats.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/network/bind/templates/stats.j2 b/roles/network/bind/templates/stats.j2
new file mode 100644
index 00000000..06a1f514
--- /dev/null
+++ b/roles/network/bind/templates/stats.j2
@@ -0,0 +1,7 @@
+// Stats
+
+statistics-channels {
+{% for channel in bind_stats_channels %}
+ inet {{ channel.addr | default('*') }}{% if 'port' in channel %} port {{ channel.port }}{% endif %}{% if 'allow' in channel %} allow { {{ channel.allow | join('; ') }}; }{% endif %};
+{% endfor %}
+};