fix: ipv6 not set

This commit is contained in:
2025-11-27 17:39:53 +01:00
parent 4b81ed91f1
commit 6684a51b4a

View File

@@ -83,8 +83,7 @@ def handle_event(event):
# run actions
if status == "start":
create_record(zone_id, fqdn, PUBLIC_IPV4, "A", proxied)
if PUBLIC_IPV6:
create_record(zone_id, fqdn, PUBLIC_IPV6, "AAAA", proxied)
create_record(zone_id, fqdn, PUBLIC_IPV6, "AAAA", proxied)
elif status == "stop":
delete_record(zone_id, fqdn)