Dynamic DNS Updater for CloudFlare

0.3.2 2015-05-24 23:45 UTC

This package is auto-updated.

Last update: 2022-06-16 03:47:32 UTC


A simple dynamic DNS updater for the API, written in PHP. Requires PHP 5.5.


Each release of cfddns includes a cfddns.phar file containing all files needed to run the tool. You can find a list of releases and the available downloads at

Download the cfddns.phar and put it in a directory in your $PATH.


cfddns reads an INI configuration file to make proper API calls against CloudFlare. An annotated template can be found below and at

; Your CloudFlare API key

; The email address associated with your CloudFlare account

; The full domain you wish to set the A record for.
; The TLD should already exist within your cloudflare account. It does not matter
; if an A record for the subdomain already exists


The updater is only useful if run regularly. This can be done by creating a cron job for cfddns.

*\2 * * * * /usr/bin/env php /usr/local/bin/cfddns.phar -c ~/.cfddns


0.3.2 - May 25, 2014

  • Code formatting

0.3.1 - July 20, 2014

  • Fixed PHP notices
  • Upgraded dependencies


Copyright (c) 2014 Jason Daly (deefour). Released under the MIT License