Merge pull request #1634 from YunoHost/fix-gandi-autodns

Fix autodns for gandi root domain
This commit is contained in:
Alexandre Aubin 2023-04-04 12:26:43 +02:00 committed by GitHub
commit a15bad7b83
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
elif registrar == "gandi":
if record["name"] == base_dns_zone:
record["name"] = "@." + record["name"]
record["action"] = action
query = (