A simple script to update Cloudflare with your Dynamic IP address
256
A simple script to update Cloudflare with your Dynamic IP address to replace DuckDNS or similar DDNS service that you usually configure from your router.
This script provides one short interval updates (defualts to 5 minutes interval), and one long interval updates which that is scheduled daily.
The short interval update can be customised through the environment variables (UPDATE_INTEVAL).
Basic setup
<> to it's respective values.docker run -d -e "[email protected]" -e "CF_API_TOKEN=<cloudflare-api-token>" -e "CF_ZONE_ID=<site-id>" -e "DOMAIN_NAME=yourdomain.com"
Docker compose
services:
ddns:
image: stewart86/cloudflare_ddns
container_name: cloudflare_ddns
environment:
- [email protected]
- CF_API_TOKEN=<cloudflare-api-token>
- CF_ZONE_ID=<cloudflare-site-id>
- DOMAIN_NAME=<yourdomain.com>
- UPDATE_INTERVAL=1 #optional
Content type
Image
Digest
Size
56.8 MB
Last updated
almost 5 years ago
docker pull stewart86/cloudflare_ddns