bundles/powerdns: put ip addresses of secondary nameservers into allow-axfer-ips
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
This commit is contained in:
parent
152bb56fdd
commit
29f488c082
2 changed files with 3 additions and 0 deletions
|
@ -25,5 +25,7 @@ api-key=${api_key}
|
|||
webserver=yes
|
||||
|
||||
allow-notify-from=
|
||||
|
||||
master=yes
|
||||
allow-axfr-ips=${','.join(sorted(my_secondary_servers))}
|
||||
% endif
|
||||
|
|
|
@ -54,6 +54,7 @@ files = {
|
|||
'my_hostname': node.metadata['powerdns'].get('my_hostname', node.name),
|
||||
'is_secondary': node.metadata['powerdns'].get('is_secondary', False),
|
||||
'my_primary_servers': node.metadata['powerdns'].get('my_primary_servers', {}),
|
||||
'my_secondary_servers': node.metadata['powerdns'].get('my_secondary_servers', {}),
|
||||
},
|
||||
'needs': {
|
||||
'pkg_apt:pdns-server',
|
||||
|
|
Loading…
Reference in a new issue