bundles/powerdns: fix NS records in zonefile header
Some checks are pending
bundlewrap/pipeline/head Build queued...
Some checks are pending
bundlewrap/pipeline/head Build queued...
This commit is contained in:
parent
4d6b867bb3
commit
ae7c3220e0
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ $TTL 60
|
||||||
)
|
)
|
||||||
"""
|
"""
|
||||||
for rnode in sorted(repo.nodes_in_group('dns')):
|
for rnode in sorted(repo.nodes_in_group('dns')):
|
||||||
ZONE_HEADER += '@ IN NS {}\n'.format(rnode.metadata.get('powerdns', {}).get('my_hostname', rnode.hostname))
|
ZONE_HEADER += '@ IN NS {}.\n'.format(rnode.metadata.get('powerdns', {}).get('my_hostname', rnode.hostname))
|
||||||
|
|
||||||
directories = {
|
directories = {
|
||||||
'/etc/powerdns/pdns.d': {
|
'/etc/powerdns/pdns.d': {
|
||||||
|
|
Loading…
Reference in a new issue