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

19 lines
406 B
Plaintext
Raw Normal View History

{{ ansible_header | comment(decoration='//') }}
2021-01-29 00:08:39 +00:00
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
{% for domain in bind.domains %}
zone "{{ domain.name }}" {
type master;
file "/var/lib/bind/{{ domain.name }}/db";
notify yes;
allow-transfer { {{ domain.slave }}; };
};
{% endfor %}