aboutsummaryrefslogtreecommitdiffstats
path: root/roles/dns/templates/nsd.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/dns/templates/nsd.conf.j2')
-rw-r--r--roles/dns/templates/nsd.conf.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/dns/templates/nsd.conf.j2 b/roles/dns/templates/nsd.conf.j2
index 87ac3fe..e6d98d8 100644
--- a/roles/dns/templates/nsd.conf.j2
+++ b/roles/dns/templates/nsd.conf.j2
@@ -110,8 +110,10 @@ pattern:
# Notify these slaves when the master zone changes, and allow them
# to transfer zones.
{% for server in nameservers %}
- notify: {{ server.xfr_ip }} NOKEY # {{ server.name }}
- provide-xfr: {{ server.xfr_ip }} NOKEY # {{ server.name }}
+{% for ip in server.xfr_ip %}
+ notify: {{ ip }} NOKEY # {{ server.name }}
+ provide-xfr: {{ ip }} NOKEY # {{ server.name }}
+{% endfor %}
{% endfor %}