summaryrefslogtreecommitdiff
path: root/roles/nameservers/templates/named.conf.local.replica.j2
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-01 20:23:23 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-01 20:23:23 -0500
commitc0ed0a948fd574208a44b2cfb5f944cf45efca29 (patch)
treeaff8726464a32d1567c0cd8e5a10263976a0cc65 /roles/nameservers/templates/named.conf.local.replica.j2
parent64e3ad7da4884c5c36f2e30a5af1f74c88208ff8 (diff)
downloadoldinfra-c0ed0a948fd574208a44b2cfb5f944cf45efca29.tar.gz
oldinfra-c0ed0a948fd574208a44b2cfb5f944cf45efca29.zip
first dns setup checkpoint
Diffstat (limited to 'roles/nameservers/templates/named.conf.local.replica.j2')
-rw-r--r--roles/nameservers/templates/named.conf.local.replica.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/nameservers/templates/named.conf.local.replica.j2 b/roles/nameservers/templates/named.conf.local.replica.j2
new file mode 100644
index 0000000..bb14d7d
--- /dev/null
+++ b/roles/nameservers/templates/named.conf.local.replica.j2
@@ -0,0 +1,7 @@
+{% for zone in dns_zones %}
+zone "{{ zone.zone_name }}" {
+ type slave;
+ file "db.{{ zone.zone_name }}";
+ masters { {{ dns_primary_ip }}; };
+};
+{% endfor %}