diff --git a/main.py b/main.py index 0cb2791..d607356 100755 --- a/main.py +++ b/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(