Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Google DNS] entry is deleted, but not created #12

Open
TomK opened this issue Dec 11, 2022 · 3 comments
Open

[Google DNS] entry is deleted, but not created #12

TomK opened this issue Dec 11, 2022 · 3 comments

Comments

@TomK
Copy link
Contributor

TomK commented Dec 11, 2022

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.

Screenshot_20221211-090931.png

@dumiio
Copy link

dumiio commented Dec 13, 2022

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.

@TomK
Copy link
Contributor Author

TomK commented Dec 13, 2022

might be worth adding a failover service too, like query-ip.com. curl query-ip.com returns an ip with no fluff

@TomK
Copy link
Contributor Author

TomK commented Dec 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants