bundles/powerdns: add support for zone transfers
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
f2073e72ed
commit
ca1646d394
5 changed files with 78 additions and 0 deletions
|
@ -16,3 +16,18 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue