bind9-ansible-role/templates/named.conf.local.j2

20 lines
738 B
Django/Jinja

//========================================================================================================
//
// DO NOT TOUCH!
//
// This file is managed by Ansible.
// {{ansible_managed}}
//
//========================================================================================================
//
// 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 zone in bind9_zones %}
zone "{{zone.name}}" IN {
type {{zone.type}};
file "{{bind9_zone_dir}}/{{zone.name}}.zone";
};
{% endfor %}