Open TomK opened 1 year ago
I've done some debugging and found out that sometimes curl req to https://api.ipify.org return "Bad gateway" instead public IP address. It will be good to be added an additional check that "curl -s -m 10 https://api.ipify.org" return a valid IP address.
might be worth adding a failover service too, like query-ip.com. curl query-ip.com
returns an ip with no fluff
I looked through the code and saw that i can set ipv4 config item to a url and it will curl that instead of https://api.ipify.org
. i've just set that config to https://query-ip.com
. seems to work
The add-on appears to successfully delete the A record (because it is missing in my cloud console), but then fails when executing the create request.
Subsequent attempts then fail the delete request because the record is already missing.