/godaddy-ddns-hack

Godaddy Dynamic DNS Hack

Primary LanguageShell

Godaddy Dynamic DNS Hack

Update DNS A records for your domain on Godaddy.

It's useful mostly if you run a service behind a dynamic IP address on your local computer.

Usage

Create new API key at Godaddy.

Edit the script according to your needs and add a crontab line via crontab -e:

*/1 * * * * sh /path/to/your/script/godaddy_ddns_hack.sh >/dev/null 2>&1

Parameters

Make sure to get the API key and change the below parameters:

KEY=<your key>
SECRET=<your secret>
DOMAIN=<your domain name>
HOSTS=(host1 host2 host3)