This script updates the IP address of multiple deSEC domains.
- Prompts for deSEC API key and domains if a configuration file does not exist
- Saves the API key and domains to a configuration file for future use
- Fetches the current IP from api.ipify.org
- Updates the IP address for each domain in the list
- Waits 1 minute between each request to prevent rate-limiting
- Download or clone the script to your local machine
- Make the script executable by running
chmod +x desec_updater.sh
- Run the script with
./desec_updater.sh
- The script will prompt you for your deSEC API key and the list of domains to update
- Make sure you have curl installed on your machine
- You can edit the script to change the wait time between requests
This script is provided as is, use it at your own risk.