Alpine image to update DNS A record in cloudflare periodically
577
A docker image to periodically update DNS A record on CloudFlare DNS Service.
docker run \
-e API_KEY=xxxxxx \
-e ZONE=example.com \
-e SUBDOMAIN=subdomain \
-e SCHEDULE="* * * * *" \
lambdalisue/cloudflare-ddns
| Name | Description |
|---|---|
API_KEY | Your CloudFlare scoped API token. Required |
ZONE | The DNS zone that DDNS update should be applied to. Required |
SUBDOMAIN | A subdomain of the ZONE to write DNS changes to. If this is not supplied the root zone will be used. |
SCHEDULE | A cron schedule expression (e.g. * * * * *) to execute DDNS updates |
Originally the idea comes from https://gist.github.com/Tras2/cba88201b17d765ec065ccbedfb16d9a. And then I found https://github.com/oznu/docker-cloudflare-ddns but that's a bit too complicated for my case so manually forked to make simplified version.
Content type
Image
Digest
Size
8.6 MB
Last updated
over 6 years ago
docker pull lambdalisue/cloudflare-ddns