diff options
author | Aaron LI <aly@aaronly.me> | 2019-09-21 11:56:05 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-09-21 11:56:05 +0800 |
commit | 6fbe5ea564a492676dab0429114d2d5f97ab4f2b (patch) | |
tree | c4d74f11094cbcbfc018db674c3062a45831fdc4 /roles/dns | |
parent | ed20bbe28e7c1d54b91d2896d8a0b2bc222cc9c5 (diff) | |
download | ansible-dfly-vps-6fbe5ea564a492676dab0429114d2d5f97ab4f2b.tar.bz2 |
dns/nsd: Add IPv6 AXFR address for ns2.afraid.org
Diffstat (limited to 'roles/dns')
-rw-r--r-- | roles/dns/templates/nsd.conf.j2 | 6 |
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 %} |