ansible/roles/bind-authoritative/templates/bind/named.conf.local.j2

19 lines
391 B
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

{{ 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 %}