Humaid Alqasimi

< Go back

Cloudflare DDNS Client

Clone with HTTPS:

Written in Go, licensed under the BSD-2-Clause license

Mailing list: ~humaid/ (subscribe, archive)

1. Description

This is a simple Cloudflare Dynamic DNS client, which updates a record to the current public IP address. I have created this as I couldn’t find a very simple solution to this very simple problem.

2. Requirements

The following packages must be installed on your system.

3. Installation and Usage

$ go install
$ export APIKey=<API KEY here>
$ export Zone=<Zone ID here>
$ export RecordName=<Full record name here, e.g.>
$ cloudflare-ddns-client

You will have to create an API token which has the permission to edit zone DNS (Zone.DNS).

This program will check every minute unless interrupted.

4. Changelog