dadatuputi / bitwarden_gcloud

Bitwarden installation optimized for Google Cloud's 'always free' e2-micro compute instance
https://bradford.la/2020/self-host-bitwarden-on-google-cloud/
MIT License
344 stars 79 forks source link

ddns with Cloudflare not working #45

Closed felix-albrecht closed 1 year ago

felix-albrecht commented 1 year ago

Using the syntax on your website, I can't get dynamic DNS updates with Cloudflare running. The following messages show up repeatedly (<my-domain> and <my-ip> were redacted):

ddns  | SUCCESS:  updating <my-domain>: IPv4 address set to <my-IP>
ddns  | WARNING:  skipping update of <my-domain> from <nothing> to <my-IP>.
ddns  | WARNING:  last updated Fri Jan 20 20:30:13 2023 but last attempt on Fri Jan 20 20:30:13 2023 failed.
ddns  | WARNING:  Wait at least 5 minutes between update attempts.

The Cloudflare audit logs show no activity. I've tried this with my global API key, an API token, another IP check website (ifconfig.me/ip)

felix-albrecht commented 1 year ago

Nevermind, it actually works :)

Using the IP website above mentioned (domains.google.com/checkip doesn't work, 301 moved permanently). Both global API key and API token work.

I was just confused by the logs.

Thank you for this amazing project!