infra/roles/nameservers/templates/named.conf.local.primary.j2

8 lines
179 B
Django/Jinja

{% for zone in dns_zones %}
zone "{{ zone.zone }}" {
type master;
file "/etc/bind/zones/db.{{ zone.zone }}";
allow-transfer { {{ dns_replica_ip }}; };
};
{% endfor %}