bundlewrap/bundles/powerdns/files/pdns.conf

36 lines
515 B
Text
Raw Normal View History

launch=
2020-10-16 11:19:44 +00:00
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
setuid=pdns
setgid=pdns
% if is_secondary:
allow-notify-from=${','.join(sorted(my_primary_servers))}
slave=yes
% if node.os_version[0] > 10:
superslave=yes
% endif
% else:
api=yes
api-key=${api_key}
webserver=yes
allow-notify-from=
master=yes
allow-axfr-ips=${','.join(sorted(my_secondary_servers))}
% endif