aboutsummaryrefslogtreecommitdiff
path: root/roles/bind/templates/named.conf.local.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bind/templates/named.conf.local.j2')
-rw-r--r--roles/bind/templates/named.conf.local.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/bind/templates/named.conf.local.j2 b/roles/bind/templates/named.conf.local.j2
new file mode 100644
index 0000000..94428f1
--- /dev/null
+++ b/roles/bind/templates/named.conf.local.j2
@@ -0,0 +1,10 @@
+// vi: ft=named
+// This file is managed by Ansible. Do not change.
+
+{% for zone in bind_zones %}
+zone "{{ zone }}" {
+ type master;
+ file "/etc/bind/zonefiles/{{ zone }}";
+};
+
+{% endfor %}