What's new

Cloudflare inadyn stopped working

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Had to troubleshoot a similar problem where inadyn with Cloudflare was previous working for me and broke with a router firmware update. In my case the main cause was the newer inadyn version changing the function of the "username" field to actually want the domain name (previously it was the email address of the Cloudflare account).

The minimal config that works for me is in /jffs/inadyn.conf: -
Code:
provider default@cloudflare.com {
        username = mydomain.com
        password = CLOUDFLARE_API_TOKEN
        hostname = myhost.mydomain.com
}

CLOUDFLARE_API_TOKEN is a custom API token that you create for the zone from Cloudflare's control panel, which must have the permissions Zone.Zone -> Read, Zone.DNS -> Edit

In /jffs/scripts/ddns-start (must have execute permission): -
Code:
#!/bin/sh
inadyn --once -f "/jffs/inadyn.conf" -e "/sbin/ddns_custom_updated 1" --continue-on-error "/sbin/ddns_custom_updated 1"
 
I use the router's inadyn to dnsomatic (in the WebUI) and then dnsomatic pushes to cloudflare. No fiddling required :)
Can you provide an example of your setup in router settings, dnsomatic, and cloudflare?

I'm having issues getting mine setup properly.

PM if you prefer.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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