Skip to content

Instantly share code, notes, and snippets.

@paulicarmody
Created March 27, 2013 09:04
Show Gist options
  • Save paulicarmody/5252855 to your computer and use it in GitHub Desktop.
Save paulicarmody/5252855 to your computer and use it in GitHub Desktop.
CloudFlare DynamicDNS Updater, ideal for a Raspberry Pi running behind a dynamically assigned IP address. Simply change the following details within the script to match your own domain, CloudFlare username and API key then add the bash script to a cron job to update at a time of your choosing.
wget -qO- https://www.cloudflare.com/api.html?a=DIUP\&hosts=yourdomain.org\&u=cloudflare_userid\&tkn=cloudflare_apikey\&ip=`wget -qO- http://ip.skafari.com`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment