macester Posted June 11, 2015 Share Posted June 11, 2015 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 1 Quote Link to comment
smdion Posted June 11, 2015 Share Posted June 11, 2015 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? Quote Link to comment
CHBMB Posted June 12, 2015 Share Posted June 12, 2015 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. Quote Link to comment
CHBMB Posted June 12, 2015 Share Posted June 12, 2015 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... Quote Link to comment
smdion Posted June 13, 2015 Share Posted June 13, 2015 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. Quote Link to comment
macester Posted June 14, 2015 Author Share Posted June 14, 2015 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. Quote Link to comment
leon101noel Posted November 30, 2018 Share Posted November 30, 2018 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 Quote Link to comment
vurt Posted November 30, 2018 Share Posted November 30, 2018 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. Quote Link to comment
vurt Posted December 1, 2018 Share Posted December 1, 2018 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. Quote Link to comment
bigbangus Posted January 30, 2023 Share Posted January 30, 2023 (edited) 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 January 30, 2023 by bigbangus Quote Link to comment
Recommended Posts
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.