Cloudflare DNS update agent
467
This docker image create and update A record of Cloudflare DNS
and let you use Cloudflare as dynamic DNS service.
services:
cf-ddns:
image: docker.io/neomax7/cf-ddns:latest
environment:
- TOKEN=PLACE_YOUR_OWN_TOKEN # your TOKEN from Cloudflare Dashboard (require ZONE edit)
- ZONE=PLACE_YOUR_OWN_ZONE # your ZONE ID from Cloudflare Dashboard
- RECORD=PLACE_YOUR_SUBDOMAIN # Subdomain of your choice , example: test.example.com => example.com = zone , test = subdomain
#- TIMEZONE=PLACE_YOUR_TIMEZONE # OPTIONAL: for more accurate cronjob otherwise its UTC
#- CRON=* * * * * # OPTIONAL: default is every 5 min, make sure no quote or double quote
docker compose up -d
docker run -d --rm --env TOKEN=YOUR_TOKEN --env ZONE=YOUR_ZONE_ID --env RECORD=RECORD_OF_CHOICE neomax7/cf-ddns
#required
TOKEN = Cloudflare API TOKEN with DNS EDIT permission
ZONE = ZONE ID from Cloudflare dashboard
RECORD = name of A record wish to register
#optional
CRON = typical cron schedule ex: */5 * * * *
TIMEZONE = your timezone
script content
Content type
Image
Digest
sha256:476579436…
Size
66 MB
Last updated
about 2 years ago
docker pull neomax7/cf-ddns