8 lines
186 B
Django/Jinja
8 lines
186 B
Django/Jinja
{% for zone in dns_zones %}
|
|
zone "{{ zone.zone_name }}" {
|
|
type master;
|
|
file "/etc/bind/zones/{{ zone.zone_file }}";
|
|
allow-transfer { {{ dns_replica_ip }}; };
|
|
};
|
|
{% endfor %}
|