Cronjob that runs every 30 minutes to update IP to Dynamic DNS service providers
150
Just a little project for my Odroid C2
docker run -d \
--name dyndns \
--restart=unless-stopped \
-v /opt/docker/dyndns:/dyndns \
reverie89/dyndns:arm64
Then, create a file called providers.txt
Inside this file, enter URLs e.g.
http://freedns.afraid.org/dynamic/update.php?ENTER-YOUR-SECRET-API-HERE https://www.duckdns.org/update?domains={YOURVALUE}&token={YOURVALUE}[&ip={YOURVALUE}][&ipv6={YOURVALUE}][&verbose=true][&clear=true] https://$USERNAME:$[email protected]/nic/update?hostname=$HOST&myip=$NEWIP
The script will first check against http://freedns.afraid.org/dynamic/check.php if it matches what we already have. If this changes or oldIP file is not found, then update will be pushed
Content type
Image
Digest
Size
2.1 MB
Last updated
over 8 years ago
docker pull reverie89/dyndns:arm64