bundlewrap/bundles/powerdns/files/pdns.conf
Franziska Kunsmann 29f488c082
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
bundles/powerdns: put ip addresses of secondary nameservers into allow-axfer-ips
2020-10-25 10:56:55 +01:00

31 lines
497 B
Text

launch=
include-dir=/etc/powerdns/pdns.d
disable-syslog=yes
log-timestamp=no
max-tcp-connections=500
max-tcp-connections-per-client=10
security-poll-suffix=
server-id=${my_hostname}
default-ttl=60
% if is_secondary:
allow-notify-from=${','.join(sorted(my_primary_servers))}
slave=yes
# FIXME enable once debian stable has 4.1.9
#superslave=yes
% else:
api=yes
api-key=${api_key}
webserver=yes
allow-notify-from=
master=yes
allow-axfr-ips=${','.join(sorted(my_secondary_servers))}
% endif