fix: ipv6 not set
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user