zone.template 240 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
{% for zone in zonelist %}
zone "{{ zone.name }}" {
    type master;
    update-policy {
    {% for key in zone.keys %} grant "{{ key.key }}" name "{{ key.domain }}.";
    {% endfor %}
    };
    file "{{ zone.zonefile }}";
};
{% endfor %}