28 lines
469 B
Text
28 lines
469 B
Text
launch=
|
|
include-dir=/etc/powerdns/pdns.d
|
|
|
|
api=yes
|
|
api-key=${api_key}
|
|
webserver=yes
|
|
|
|
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:
|
|
# Primary servers: ${', '.join(sorted(my_primary_servers['nodes']))}
|
|
slave=yes
|
|
superslave=yes
|
|
allow-notify-from=${','.join(sorted(my_primary_servers['ips']))}
|
|
% else:
|
|
allow-notify-from=
|
|
master=yes
|
|
% endif
|