fix(dyndns): only update dns entries if there is stuff to be updated

This commit is contained in:
2026-02-10 22:46:48 +01:00
parent 39c596c17e
commit 51c95c7fd0
+1
View File
@@ -25,6 +25,7 @@ with Client(CUSTOMER, API_KEY, API_PASSWORD) as api:
to_be_updated.append(record) to_be_updated.append(record)
if to_be_updated:
api.update_dns_records(DOMAIN, to_be_updated) api.update_dns_records(DOMAIN, to_be_updated)
zone = api.dns_zone(DOMAIN) zone = api.dns_zone(DOMAIN)