1234567891011121314151617181920212223242526272829 |
- options {
- directory "/var/cache/bind";
- dnssec-validation auto;
-
- recursion yes;
- allow-recursion { localnets; localhost; };
- notify yes;
- also-notify {
- {% if bind.ffms_for_groups is defined and bind.ffms_for_groups.0 is defined %}
- {% for group in bind.ffms_for_groups %}
- {% for host in groups[group] %}
- {{hostvars[host].ff_network.v4_network | ipaddr(hostvars[host].server_id) | ipaddr('address') }};
- {% endfor %}
- {% endfor %}
- {% for host in groups['gateways'] %}
- {% if hostvars[host].domaenenliste is defined %}
- {% for domaene in hostvars[host].domaenenliste|dictsort %}
- {{domaenen[domaene[0]].ffv4_network | ipaddr(domaene[1].server_id) | ipaddr('address')}};
- {% endfor %}
- {% endif %}
- {% endfor %}
- {% endif %}
- };
-
- auth-nxdomain no; # conform to RFC1035
- listen-on-v6 { any; };
- };
|