bundlewrap/bundles/bind/files/named.conf.options
mwiegand ee09e81a22 wip
2021-07-12 22:35:28 +02:00

16 lines
333 B
Text

options {
directory "/var/cache/bind";
dnssec-validation auto;
listen-on-v6 { any; };
allow-query { any; };
max-cache-size 30%;
querylog yes;
% if type == 'master':
notify yes;
also-notify { ${' '.join([f'{ip};' for ip in slave_ips])} };
allow-transfer { ${' '.join([f'{ip};' for ip in slave_ips])} };
% endif
};