13 lines
316 B
Django/Jinja
13 lines
316 B
Django/Jinja
# {{ ansible_managed }}
|
||
{% for zone, value in bind_zones.iteritems() %}
|
||
|
||
zone "{{ zone }}" IN {
|
||
type master;
|
||
{% if 'dnssec' in value and value.dnssec %}
|
||
file "/etc/bind/zones/db.{{ zone }}.signed";
|
||
{% else %}
|
||
file "/etc/bind/zones/db.{{ zone }}";
|
||
{% endif %}
|
||
allow-transfer { 217.70.177.40; };
|
||
};
|
||
{% endfor %}
|