diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-01 20:23:23 -0500 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-01 20:23:23 -0500 |
commit | c0ed0a948fd574208a44b2cfb5f944cf45efca29 (patch) | |
tree | aff8726464a32d1567c0cd8e5a10263976a0cc65 /roles/nameservers/templates/named.conf.local.primary.j2 | |
parent | 64e3ad7da4884c5c36f2e30a5af1f74c88208ff8 (diff) | |
download | oldinfra-c0ed0a948fd574208a44b2cfb5f944cf45efca29.tar.gz oldinfra-c0ed0a948fd574208a44b2cfb5f944cf45efca29.zip |
first dns setup checkpoint
Diffstat (limited to 'roles/nameservers/templates/named.conf.local.primary.j2')
-rw-r--r-- | roles/nameservers/templates/named.conf.local.primary.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/nameservers/templates/named.conf.local.primary.j2 b/roles/nameservers/templates/named.conf.local.primary.j2 new file mode 100644 index 0000000..0234278 --- /dev/null +++ b/roles/nameservers/templates/named.conf.local.primary.j2 @@ -0,0 +1,7 @@ +{% for zone in dns_zones %} +zone "{{ zone.zone_name }}" { + type master; + file "/etc/bind/{{ zone.zone_file }}"; + allow-transfer { {{ dns_replica_ip }}; }; +}; +{% endfor %} |