Fix autodns for gandi root domain

This commit is contained in:
Kayou 2023-04-04 11:36:35 +02:00 committed by GitHub
parent 85a4b78e49
commit a16a164e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -960,6 +960,9 @@ def domain_dns_push(operation_logger, domain, dry_run=False, force=False, purge=
f"Pushing {record['type']} records is not properly supported by Lexicon/Godaddy."
)
continue
else if registrar == "gandi":
if record["name"] == base_dns_zone:
record["name"] = "@." + record["name"]
record["action"] = action
query = (