A tool to update multiple dns records of your domain registered at godaddy.com.
- Go to https://developer.godaddy.com/keys -> Create new API Key -> Give it a name -> Select production
- Edit the config.json file
- Set your API keys
- Set your registered domain
- Set as many records to be made as you wish
- Set the record type (e.g. A, CNAME, TXT, ...)
- Set the name (e.g. @, cloud, blog, subdomain, ...)
- Set the time to live [ttl] (e.g. 600, 3600, ...)
python main.py config.json
Use cronjobs to update your dns records automatically (e.g. every 10 minutes).
Edit your jobs with crontab
crontab -e
Add a new job
*/10 * * * * /usr/bin/python3 <path_to_file> <path_to_config> > <path_to_logfile>