2020-10-16 15:44:31 +00:00
|
|
|
launch=
|
2020-10-16 11:19:44 +00:00
|
|
|
include-dir=/etc/powerdns/pdns.d
|
2020-10-16 15:44:31 +00:00
|
|
|
|
|
|
|
disable-syslog=yes
|
|
|
|
log-timestamp=no
|
|
|
|
|
|
|
|
max-tcp-connections=500
|
|
|
|
max-tcp-connections-per-client=10
|
|
|
|
|
|
|
|
security-poll-suffix=
|
|
|
|
|
2020-10-17 10:56:17 +00:00
|
|
|
server-id=${my_hostname}
|
2020-10-16 18:16:34 +00:00
|
|
|
|
2020-10-17 10:56:17 +00:00
|
|
|
default-ttl=60
|
2020-10-16 21:02:47 +00:00
|
|
|
|
2021-04-24 09:45:58 +00:00
|
|
|
setuid=pdns
|
|
|
|
setgid=pdns
|
|
|
|
|
2020-10-16 21:02:47 +00:00
|
|
|
% if is_secondary:
|
2020-10-25 09:53:55 +00:00
|
|
|
allow-notify-from=${','.join(sorted(my_primary_servers))}
|
|
|
|
|
2020-10-16 21:02:47 +00:00
|
|
|
slave=yes
|
2020-10-25 09:55:17 +00:00
|
|
|
# FIXME enable once debian stable has 4.1.9
|
|
|
|
#superslave=yes
|
2020-10-16 21:02:47 +00:00
|
|
|
% else:
|
2020-10-25 09:52:51 +00:00
|
|
|
api=yes
|
|
|
|
api-key=${api_key}
|
|
|
|
webserver=yes
|
|
|
|
|
2020-10-16 21:02:47 +00:00
|
|
|
allow-notify-from=
|
2020-10-25 09:56:55 +00:00
|
|
|
|
2020-10-16 21:02:47 +00:00
|
|
|
master=yes
|
2020-10-25 09:56:55 +00:00
|
|
|
allow-axfr-ips=${','.join(sorted(my_secondary_servers))}
|
2020-10-16 21:02:47 +00:00
|
|
|
% endif
|