CLOUDFLARE AND DDCLIENT (Posted 2014-10-07 13:58:31 by corey_reichle) Getting Cloudflare working with DDClient was a bit of a head scratcher for a bit. Couldn't figure out what the heck was going wrong, until I actually started reading the output of the debug, and noted a "zone=" is not a fully qualified domain name... Hrm... At first I thought it was talking about the records I was updating. Sure one of them wasn't, but another was. Then, for a random stab, I thought,"Zone, Zone file... OH! The root zone name!" Sure enough, added that to the ddclient.conf file, and viola(sp)! It worked! Cloudflare looks to be a pretty good replacement for dyndns. Hell, it's better than a good replacement, I wish I learned about this service being free a *long* time ago. Install ddclient like this (Enter whatever you want at the prompts, we're over-writing the config file later manually): sudo apt-get install ddclient Then, get the patch from: http://blog.peter-r.co.uk/cloudflare-ddclient-patch-update.html [ http://blog.peter-r.co.uk/cloudflare-ddclient-patch-update.html ] Patch your ddclient... sudo patch /usr/sbin/ddclient ddclient.patch Below is a sample ddclient.conf file: pi@raspberrypi ~ $ sudo cat /etc/ddclient.conf daemon=300 # check every 300 seconds syslog=yes # log update msgs to syslog mail=root # mail all msgs to root mail-failure=root # mail failed update msgs to root pid=/var/run/ddclient.pid # record PID in file. ssl=yes # use ssl-support. Works with # ssl-library use=web, web=checkip.dyndns.com/, web-skip='IP Address' cache=/tmp/ddclient.cache # ## CloudFlare (cloudflare.com) ## protocol=cloudflare, server=www.cloudflare.com, zone=example.com, login=example@example.com password=b035ef124fa345ef324883bed338d8b9088e9 ftp.example.com, example.com, pi@raspberrypi ~ $ Now, test it out: sudo ddclient -daemon=0 -debug -verbose -noquiet -------- There are 10 comments on this post: Comment #1 by Noe ( terrencestorey@zoho.com ) on 2015-11-29 07:21:11 I know this if off topic but I'm looking into starting my own weblog and was wondering what all is needed to get set up? I'm assuming having a blog like yours would cost a pretty penny? I'm not very internet smart so I'm not 100% certain. Any recommendations or advice would be greatly appreciated. Cheers Comment #2 by Rigoberto ( bookereddy@gmail.com ) on 2015-11-29 08:08:01 Heya i am for the first time here. I came across this board and I find It truly useful & it helped me out a lot. I hope to give something back and help others like you aided me. Comment #3 by http://www.houzz.com/ ( scottstrangways@gmail.com ) on 2015-11-29 12:23:29 This is the kind of information I’ve long been in search of. Thanks for posting this information. Comment #4 by Walker ( marina_mcclain@gawab.com ) on 2015-11-29 15:21:44 Hi there, just wanted to mention, I loved this post. It was helpful. Keep on posting! Comment #5 by Kennith ( dominga_emmons@live.com ) on 2015-11-29 17:15:19 I have been exploring for a little bit for any high-quality articles or weblog posts in this sort of space . Exploring in Yahoo I eventually stumbled upon this site. Studying this info So i'm happy to exhibit that I have a very good uncanny feeling I discovered just what I needed. I so much undoubtedly will make sure to do not omit this site and give it a glance on a constant basis. Comment #6 by Richie ( rebbecahides@bigstring.com ) on 2015-11-29 17:24:12 My developer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the costs. But he's tryiong none the less. I've been using WordPress on several websites for about a year and am concerned about switching to another platform. I have heard great things about blogengine.net. Is there a way I can import all my wordpress content into it? Any help would be greatly appreciated! Comment #7 by Jay ( lavonnemussen@gmx.de ) on 2015-11-29 17:36:11 Great blog here! Also your web site loads up fast! What web host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as fast as yours lol Comment #8 by Alejandro ( shanicemarquez@googlemail.com ) on 2015-11-29 21:12:11 Marvelous work on behalf of the owner of this website, outstanding post. Comment #9 by Maude ( santoblunt@arcor.de ) on 2015-11-29 22:26:14 Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates. Comment #10 by Carrie ( bartskeyhill@arcor.de ) on 2015-11-29 22:56:06 Awesome post. To submit a comment on this post, email corey.reichle@gmail.com or visit us on the web [ https://www.coreyreichle.com ].