Updates your YDNS hosts. It is highly recommended to use this script with a cronjob to run it automatically.
- Supports the current YDNS API
- Supports IPv4 and IPv6 addresses
- Uses the Ipify API to retrieve public IP addresses
- Revision of the usage options, output and YDNS_LASTIP file
- Code cleanup, updates and fixes
-
Place the script where you want it and make it executable (chmod +x updater.sh)
-
Edit the script to include your YDNS API credentials, host(s), and the path to the local YDNS_LASTIP file (for cronjob)
-
Run the script:
- Manually via the command line. Show options: -h
- Via cronjob for automatic execution (recommended)
The code is licensed under the GNU Public License, version 3.