summaryrefslogtreecommitdiff
path: root/roles/network/bind/templates/master-zones.j2
blob: 737b5e84ec3e2e50bd84c695962dba5b9ed7f86e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Zones
{% for zone in bind_master_zones.keys() %}

zone "{{ zone }}" {
        type master;
{%   if 'remote_file' in bind_master_zones[zone] %}
        file "{{ bind_master_zones[zone].remote_file }}";
{%   else %}
        file "/etc/bind/db.{{ zone }}";
{%   endif %}
};
{% endfor %}