home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.06k stars 29.72k forks source link

Cloudflare Integration not updating the A record #121440

Closed bughidudi closed 1 month ago

bughidudi commented 2 months ago

The problem

following this guide https://www.home-assistant.io/integrations/cloudflare to setup DDNS for my Cloudflare domain

when I set up the Cloudflare Integration I follow all the steps for setting up API Tokens image

the A record is created image

and after adding the API token in the configuration of the CloudFlare integration I can see my zone and record image

and after clicking submit, I get the message that the configuration was completed succesfully

the CloudFlare API token page is saying that the Token is being used image

BUT, THE IP OF THE A RECORD IN CLOUDFLARE IS NEVER BEING UPDATED so the API is being used, but for some reason the record never gets updated

I have tried to do DDNS updating the same A record in Cloudflare DNS Management via SSH script and it works fine, so I do not think it has to do with the setup in Cloudflare

What version of Home Assistant Core has the issue?

core-2024.7.1

What was the last working version of Home Assistant Core?

core-2024.7.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Cloudflare

Link to integration documentation on our website

https://www.home-assistant.io/integrations/cloudflare

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

the .log files are empty even when selecting "Enable Debug Logging"

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @ludeeus, @ctalkington, mind taking a look at this issue as it has been labeled with an integration (cloudflare) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `cloudflare` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign cloudflare` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


cloudflare documentation cloudflare source (message by IssueLinks)