Click create token. You can then use the Edit DNS Zone template. Give it a name.

.env file:[email protected]
KEY=my_api_key
ZONE=example.org
DNS_RECORD=some.example.org
docker run -d --name ddns --restart always --env-file .env cupcakearmy/ddns-cloudflare
To check logs:
docker logs ddns
With docker-compose:
git clone https://github.com/CupCakeArmy/docker-ddns-cloudflare.git
cp .sample.env .env
# Edit the .env file with your data
docker-compose up -d
By default the script runs every 5 minutes. You can customize this by simply setting the CRON value in the .env file.
# .env
# e.g. every minute
CRON=* * * * *
By default the script checks the own ip by calling https://api.ipify.org/. This also can be configured. It has to be an endpoint that return a plain text containing the ip by get request.
# .env
RESOLVER=https://ipv4.icanhazip.com/
Content type
Image
Digest
sha256:081ab340d…
Size
38.3 MB
Last updated
over 1 year ago
docker pull cupcakearmy/ddns-cloudflare