Update DNS Cloudflare DDclient


Recommended Posts

So

 

I looked at 

https://www.cloudflare.com/technical-resources/#ddclient

 

Quote

 


## ## Cloudflare (cloudflare.com) ##

ssl=yes

protocol=cloudflare, \

server=www.cloudflare.com, \

[email protected] \

password=my-cloudflare-api-key \

my-awesome-site.com,
 

 

 

And did it like this, then i get a error about zone blabla, so i added after password

Quote

 


zone=my-site.de

my-site.de,
 

 

 

still not working?


Anyone got this working? I know there are other dockers, but i would like to keep one docker for all my dns.

 

There are no errors besides 

Mar 18 13:21:03 449a04d7fcea ddclient[32]: WARNING: skipping update of mysite.de from <nothing> to myip.
Mar 18 13:21:03 449a04d7fcea ddclient[32]: WARNING: last updated <never> but last attempt on Mon Mar 18 13:18:12 2019 failed.
Mar 18 13:21:03 449a04d7fcea ddclient[32]: WARNING: Wait at least 5 minutes between update attempts.

 

 

Sometimes i read about Zone ID and DNS identifier, where do i find that in cliudflare?

 

Edit: NVM! I found it under "overview" of the domain right bottom. Ill try that now.

Edited by nuhll
Link to comment

Ive now installed the new ddclient from linuxserver, but still, im unable to get it working. Its crazy how easy small things can be such a problem xD

 

anyway...

 

https://www.cloudflare.com/technical-resources/#ddclient

Quote

ssl=yes


protocol=cloudflare, \
server=www.cloudflare.com, \
[email protected] \
password=my-cloudflare-api-key \
my-awesome-site.com,
 

does not work 10000% because it has no "zone=" in it. (it complains about it)

 

Quote

 


##
## CloudFlare (www.cloudflare.com)
##
#protocol=cloudflare, \
#zone=domain.tld, \
#ttl=1, \
#login=your-login-email, \
#password=APIKey \
#domain.tld,my.domain.tld
 

 

is the standard config in ddclient, also not working, i dont get it, no error.

 

Since linuxserver hasnt ported ddclient to unraid, i cant ask my questions in their thread either... 

 

Did anyone got this working?

Edited by nuhll
Link to comment
  • 5 months later...
On 3/19/2019 at 8:15 AM, nuhll said:

Did anyone got this working?

After a ton of troubleshooting, yes. Unfortunately, Cloudflare official documentation is at least 16 months outdated. Also, the official README for the ddclient Docker container says to look at Cloudflare documentation.

 

Anyway, here's the ddclient.conf that FINALLY worked for me! This works with the latest linuxserver/ddclient as of August 19th, 2019.

 

Pay close attention when commas are used and when they are not.

 

##
## CloudFlare (www.cloudflare.com)
##
use=web
protocol=cloudflare, \
zone=mydomain.com, \
ttl=10, \
[email protected], \
password=CLOUDFLARE-GLOBAL-API-KEY \
sub1.mydomain.com,sub2.mydomain.com

 

 

  • Like 1
  • Thanks 1
Link to comment
  • 2 years later...
On 8/19/2019 at 6:54 PM, willmx said:

After a ton of troubleshooting, yes. Unfortunately, Cloudflare official documentation is at least 16 months outdated. Also, the official README for the ddclient Docker container says to look at Cloudflare documentation.

 

Anyway, here's the ddclient.conf that FINALLY worked for me! This works with the latest linuxserver/ddclient as of August 19th, 2019.

 

Pay close attention when commas are used and when they are not.

 

##
## CloudFlare (www.cloudflare.com)
##
use=web
protocol=cloudflare, \
zone=mydomain.com, \
ttl=10, \
[email protected], \
password=CLOUDFLARE-GLOBAL-API-KEY \
sub1.mydomain.com,sub2.mydomain.com

 

 

Standard config in ddclient dont have the use=web in the cloudflare section, but after struggling to figure it out, as ddclient log only said something about missing IP, I came over this and adding that seemed to make it work.

 

Had an easier time setting it up for Namecheap that I used before than Cloudflare.

Edited by Mihle
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.