summaryrefslogtreecommitdiff
path: root/roles/network/bind/templates/master-zones.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-06-19 00:03:22 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-06-19 00:03:22 +0200
commitd5cb307d443301e96a06c80e4608ec7e9d015e0e (patch)
tree3a52b762ae29ec9e17b84ca05c3ecbc8e3e8c9b8 /roles/network/bind/templates/master-zones.j2
parentadd simple handling for nftable rulesets in base role (diff)
import improved bind role from helsinki repo
Diffstat (limited to 'roles/network/bind/templates/master-zones.j2')
-rw-r--r--roles/network/bind/templates/master-zones.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/network/bind/templates/master-zones.j2 b/roles/network/bind/templates/master-zones.j2
new file mode 100644
index 00000000..2e400711
--- /dev/null
+++ b/roles/network/bind/templates/master-zones.j2
@@ -0,0 +1,8 @@
+// Zones
+{% for zone in bind_master_zones.keys() %}
+
+zone "{{ zone }}" {
+ type master;
+ file "/etc/bind/db.{{ zone }}";
+};
+{% endfor %}