bundlewrap/bundles/bind/files/named.conf.local
mwiegand 4871986ea7 wip
2021-06-26 14:47:16 +02:00

14 lines
350 B
Text

% for view in views:
view "${view['name']}" {
match-clients {${' '.join(f'{e}; ' for e in view['acl'])}};
recursion yes;
% 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