[Release] Cloudflare Dynamic DNS Update Script

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

ttgapers

Senior Member
I am pleased to announce the release of the Cloudflare Dynamic DNS Update Script!

Note: This is a forked version based on work by a few contributors who I have not been able to get a hold of to commit to the main repo. @epicylon, @bengalih, @gumanov, @clayauld

My updates
  • Verified works on RT-AC86U & RT-AC68U
  • Updated script to run from /jffs/addons/ddns/cloudflare/ directory
Why I use this versus other services like DNS-o-Matic etc?
One word, privacy and by extension one less potential point of failure in my DDNS updates

Install/Repo
https://github.com/ttgapers/asus_rt_ac68u

If anyone gets a hold of the original dev
, please let me know and they can decide to commit my pull request and I can close up my fork. Original is here: https://github.com/ulygit/asus_rt_ac68u
 

RMerlin

Asuswrt-Merlin dev
Inadyn 2.6 supports Cloudflare. Why not just use a custom inadyn.conf file?

Code:
# Create a unique API token with the following Permissions:
#   Zone: Zone - Read
#   Zone: DNS - Edit
#
# Due to a bug in Cloudflare's API, the token must currently be
# granted access to all zones on the account.
#
# For more information, see this Cloudflare Community post:
# https://community.cloudflare.com/t/bug-zone-detail-by-name-requires-zone-list-permission/128042
#
# Note: global API keys are NOT supported for security reasons.
provider cloudflare.com {
    username = your_zone
    password = your_api_token
    hostname = host.your_zone
}
 

ttgapers

Senior Member
Inadyn 2.6 supports Cloudflare. Why not just use a custom inadyn.conf file?

Code:
# Create a unique API token with the following Permissions:
#   Zone: Zone - Read
#   Zone: DNS - Edit
#
# Due to a bug in Cloudflare's API, the token must currently be
# granted access to all zones on the account.
#
# For more information, see this Cloudflare Community post:
# https://community.cloudflare.com/t/bug-zone-detail-by-name-requires-zone-list-permission/128042
#
# Note: global API keys are NOT supported for security reasons.
provider cloudflare.com {
    username = your_zone
    password = your_api_token
    hostname = host.your_zone
}
Awesome, thanks for the reply, and didn't hear about them until now. If this doesn't rely on any other 3rd party service then I will give it a whirl (which it appears to).

If/when I can confirm, we can close this up for reference only.

Cheers!
 

RMerlin

Asuswrt-Merlin dev
Awesome, thanks for the reply, and didn't hear about them until now. If this doesn't rely on any other 3rd party service then I will give it a whirl (which it appears to).

If/when I can confirm, we can close this up for reference only.
Inadyn is part of recent Asuswrt-Merlin releases, so it should be fine for these users. Version 2.6 was merged in a few months ago.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top