Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CloudFlare Dyn-DNS Client

Featured Replies

Hi,

 

Just created a docker for updating dns records on CloudFlare´s free dns service.

 

It uses a php script to update through CloudFlare´s API, it checks the ip every 120 seconds.

 

 

Configuration:

Click "Advanced View" in the upper right corner.

Scroll down and change the Environment Variables to match your CloudFlare details.

 

Docker-Templates:

https://github.com/macexx/docker-templates

 

//Regards Mace

Hi,

 

Just created a docker for updating dns records on CloudFlare´s free dns service.

 

It uses a php script to update through CloudFlare´s API, it checks the ip every 120 seconds.

 

 

Configuration:

Click "Advanced View" in the upper right corner.

Scroll down and change the Environment Variables to match your CloudFlare details.

 

Docker-Templates:

https://github.com/macexx/docker-templates

 

//Regards Mace

 

To soon to say I love you?

Not heard of cloudfare before but certainly looks intriguing, is this docker compatible with SSL? I need to do a bit more research and would want to use the free service but my whole website is password protected as it's basically a portal for my family to use various apps, look at photos and stream music etc.

Hi,

 

Just created a docker for updating dns records on CloudFlare´s free dns service.

 

It uses a php script to update through CloudFlare´s API, it checks the ip every 120 seconds.

 

 

Configuration:

Click "Advanced View" in the upper right corner.

Scroll down and change the Environment Variables to match your CloudFlare details.

 

Docker-Templates:

https://github.com/macexx/docker-templates

 

//Regards Mace

 

To soon to say I love you?

 

If you feel it, let it happen...

Not heard of cloudfare before but certainly looks intriguing, is this docker compatible with SSL? I need to do a bit more research and would want to use the free service but my whole website is password protected as it's basically a portal for my family to use various apps, look at photos and stream music etc.

 

I actually left my paid DynDNS service for Cloudflare.  Works great with my SSL docker.  Only downfall is because they also do cacheing of your content SSH/VPN and stuff doesn't work on the main domain. You have to make a subdomain and not route it through their caching.

  • Author

I´ve only used it as a ddns with "their caching" turned of and worked great, nice to hear it workes with ssl maby time to setup an owncloud through them. ;)

  • 3 years later...

Hi all,

 

Just installed this docker. Entered my CF email address linked to my account my domain name i.e. leoncole.com and also my GLOBAL API key however im getting this in the log files below.  Any ideas? Or does this docker no longer work?

 

Its pretty easy to read the error its saying the API creds are wrong however I have literally triple checked this over and over again lol.

 

in /root/updateip.php on line 16
Bad API credentials
Contacting the Cloudflare API to determine DNS zone
PHP Warning: file_get_contents(https://www.cloudflare.com/api_json.html): failed to open stream: HTTP request failed! HTTP/1.1 410 Gone

 

4 hours ago, leon101noel said:

Hi all,

 

Just installed this docker. Entered my CF email address linked to my account my domain name i.e. leoncole.com and also my GLOBAL API key however im getting this in the log files below.  Any ideas? Or does this docker no longer work?

 

Its pretty easy to read the error its saying the API creds are wrong however I have literally triple checked this over and over again lol.

 


in /root/updateip.php on line 16
Bad API credentials
Contacting the Cloudflare API to determine DNS zone
PHP Warning: file_get_contents(https://www.cloudflare.com/api_json.html): failed to open stream: HTTP request failed! HTTP/1.1 410 Gone

 

I'm using the same docker. Could your issue be related to this:

 

It looks like CloudFlare has changed their API and I'm trying to ascertain if this docker still works.

23 hours ago, leon101noel said:

Hi all,

 

Just installed this docker. Entered my CF email address linked to my account my domain name i.e. leoncole.com and also my GLOBAL API key however im getting this in the log files below.  Any ideas? Or does this docker no longer work?

 

Its pretty easy to read the error its saying the API creds are wrong however I have literally triple checked this over and over again lol.

 


in /root/updateip.php on line 16
Bad API credentials
Contacting the Cloudflare API to determine DNS zone
PHP Warning: file_get_contents(https://www.cloudflare.com/api_json.html): failed to open stream: HTTP request failed! HTTP/1.1 410 Gone

 

This seems to be working for me, give it a try. Only for CloudFlare.

  • 4 years later...

For those with cloudflare, I followed this tutorial here to setup my cloudflare DDNS update: cloudflare-ddclient

 

docker container log:

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    99
User gid:    100
-------------------------------------

[custom-init] No custom files found, skipping...
[ls.io-init] done.
SUCCESS:  updating <domain.tld>: IPv4 address set to <x.x.x.x>

 

Edited by bigbangus

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.