Merge branch 'crans' of https://gitlab.adm.crans.org/nounous/re2o-dns into crans
This commit is contained in:
commit
8c2369d474
1 changed files with 0 additions and 10 deletions
10
main.py
10
main.py
|
@ -56,7 +56,6 @@ template_zone = (
|
|||
"\n"
|
||||
"{fp_records}\n"
|
||||
"\n"
|
||||
"{ns_records}\n"
|
||||
"{mx_records}\n"
|
||||
"\n"
|
||||
"{txt_records}\n"
|
||||
|
@ -188,15 +187,6 @@ def write_dns_file(zone):
|
|||
for x in zone['a_records']
|
||||
)
|
||||
|
||||
aaaa_records = "\n".join(
|
||||
template_aaaa.format(
|
||||
hostname=x['hostname'],
|
||||
ipv6=ip['ipv6']
|
||||
)
|
||||
for x in zone['aaaa_records']
|
||||
for ip in x['ipv6']
|
||||
if x['ipv6'] is not None
|
||||
)
|
||||
|
||||
aaaa_records = "\n".join(
|
||||
template_aaaa.format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue