Franzi
ca1646d394
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
34 lines
633 B
Plaintext
34 lines
633 B
Plaintext
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=${node.name}
|
|
|
|
default-ttl=86400
|
|
|
|
% if is_secondary:
|
|
# Primary server: ${my_primary_server['node']}
|
|
slave=yes
|
|
superslave=yes
|
|
allow-notify-from=${','.join(my_primary_server['ips'])}
|
|
% else:
|
|
allow-notify-from=
|
|
% endif
|
|
|
|
% if node.metadata['powerdns'].get('my_secondary_servers'):
|
|
# This server is a primary server for the following nodes:
|
|
# ${', '.join(node.metadata['powerdns']['my_secondary_servers'])}
|
|
master=yes
|
|
% endif
|