bundles/powerdns: only enable webserver and api on primary nameservers
This commit is contained in:
parent
78c553faf9
commit
43bd6b4774
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,6 @@
|
|||
launch=
|
||||
include-dir=/etc/powerdns/pdns.d
|
||||
|
||||
api=yes
|
||||
api-key=${api_key}
|
||||
webserver=yes
|
||||
|
||||
disable-syslog=yes
|
||||
log-timestamp=no
|
||||
|
||||
|
@ -23,6 +19,10 @@ slave=yes
|
|||
superslave=yes
|
||||
allow-notify-from=${','.join(sorted(my_primary_servers['ips']))}
|
||||
% else:
|
||||
api=yes
|
||||
api-key=${api_key}
|
||||
webserver=yes
|
||||
|
||||
allow-notify-from=
|
||||
master=yes
|
||||
% endif
|
||||
|
|
Loading…
Reference in a new issue