diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-11-11 22:34:56 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-11-11 22:34:56 +0100 |
commit | 4d9138b8283eced0c5b47865e2023c63a55558c2 (patch) | |
tree | 90af17e3c71e363937eac5aa45df6b93ebb02739 /roles/network/bind/templates/master-zones.j2 | |
parent | minor cleanups (diff) |
ch-pan: deploy new and improved dyndns/server
Diffstat (limited to 'roles/network/bind/templates/master-zones.j2')
-rw-r--r-- | roles/network/bind/templates/master-zones.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/network/bind/templates/master-zones.j2 b/roles/network/bind/templates/master-zones.j2 index 2e400711..737b5e84 100644 --- a/roles/network/bind/templates/master-zones.j2 +++ b/roles/network/bind/templates/master-zones.j2 @@ -3,6 +3,10 @@ zone "{{ zone }}" { type master; +{% if 'remote_file' in bind_master_zones[zone] %} + file "{{ bind_master_zones[zone].remote_file }}"; +{% else %} file "/etc/bind/db.{{ zone }}"; +{% endif %} }; {% endfor %} |