19 lines
391 B
Django/Jinja
19 lines
391 B
Django/Jinja
{{ ansible_header | comment(decoration='// ') }}
|
||
|
||
// Consider adding the 1918 zones here, if they are not used in your
|
||
// organization
|
||
//include "/etc/bind/zones.rfc1918";
|
||
|
||
{% if not bind.master %}
|
||
{% for zone in bind.zones %}
|
||
zone "{{ zone }}" {
|
||
type slave;
|
||
masters { {{ bind.master_ip }}; };
|
||
file "bak.{{ zone }}";
|
||
allow-transfer { "none"; };
|
||
notify no;
|
||
};
|
||
|
||
{% endfor %}
|
||
{% endif %}
|