Handle multiple KSK at the same time
This commit is contained in:
parent
462a0bebc4
commit
9f9e950d5c
2 changed files with 19 additions and 15 deletions
3
main.py
3
main.py
|
@ -218,7 +218,8 @@ def write_dns_file(zone):
|
|||
zones_ds = json.load(ds)
|
||||
ds_records = ""
|
||||
for zone in zones_ds:
|
||||
ds_records += template_ds.format(**zones_ds[zone]) + "\n"
|
||||
for ds in zones_ds[zone]:
|
||||
ds_records += template_ds.format(**ds) + "\n"
|
||||
else:
|
||||
ds_records = "\n"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue