2016-03-26 17:54:31 +01:00
|
|
|
# Secondary zone definition for {{ item.zone_name }}
|
|
|
|
zone:
|
|
|
|
name: "{{ item.zone_name }}"
|
|
|
|
zonefile: "{{ secondary_zones_dir }}/{{ item.zone_name }}"
|
2016-03-26 18:42:13 +01:00
|
|
|
{% for master in item.masters|default([]) %}
|
2016-03-26 19:14:59 +01:00
|
|
|
allow-notify: {{ master.ip }} "{{ master.tsig_key|default('NOKEY') }}"
|
|
|
|
request-xfr: AXFR {{ master.ip }} "{{ master.tsig_key|default('NOKEY') }}"
|
2016-03-26 17:54:31 +01:00
|
|
|
{% endfor %}
|
|
|
|
|