bundlewrap/bundles/bind/files/named.conf.local
mwiegand cb8eb8dac2 wip
2021-06-26 13:36:22 +02:00

13 lines
333 B
Text

% for view in views:
view "${view['name']}" {
match-clients {${' '.join(f'{e}; ' for e in view['acl'])}};
% for zone in zones:
zone "${zone}" {
type master;
file "/var/lib/bind/${view['name']}/db.${zone}";
};
% endfor
include "/etc/bind/named.conf.default-zones";
include "/etc/bind/zones.rfc1918";
};
% endfor