Docker build of a Cloudflare DDNS client using their example code
Go to file
2019-03-06 11:12:14 -08:00
.dockerignore Working commit 2019-03-05 11:16:45 -08:00
Dockerfile Use alpine 2019-03-06 11:12:14 -08:00
LICENSE Initial commit 2019-03-05 19:15:08 +00:00
Makefile Working commit 2019-03-05 11:16:45 -08:00
README.md Working commit 2019-03-05 11:16:45 -08:00
requirements.txt Working commit 2019-03-05 11:16:45 -08:00
start.sh Working commit 2019-03-05 11:16:45 -08:00
update_ddns.py Working commit 2019-03-05 11:16:45 -08:00

Docker Cloudfare DDNS

Simple Docker image to dynamically update a Cloudflare DNS record.

Usage

All parameters are passed to the script using env variables, so export the following:

DOMAIN=sub.example.com
CF_API_EMAIL=admin@example.com
CF_API_KEY=00000000000000000000

Then run. To execute from this directory, you can use the convenient Make target.

make run

Development

The script is straight from the examples provided by Cloudflare on their Github. The latest version can be downloaded using:

make update