Docker build of a Cloudflare DDNS client using their example code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
IamTheFij 8a39181d22 Switch from bash to sh 1 week ago
.dockerignore Working commit 2 weeks ago
.drone.yml Add multiarch building from Drone 1 week ago
.gitignore Add multiarch building from Drone 1 week ago
Dockerfile Add multiarch building from Drone 1 week ago
LICENSE Initial commit 2 weeks ago
Makefile Add multiarch building from Drone 1 week ago
README.md Working commit 2 weeks ago
get_qemu.sh Add multiarch building from Drone 1 week ago
manifest.tmpl Add multiarch building from Drone 1 week ago
requirements.txt Working commit 2 weeks ago
start.sh Switch from bash to sh 1 week ago
update_ddns.py Working commit 2 weeks ago

README.md

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