- or download this
use Addr::MyIP;
use Net::DynDNS::GoDaddy;
...
if ($current_host_ip ne $my_ip) {
host_ip_set($host, $domain, $my_ip);
}
- or download this
{
"api_key" : "api_key",
"api_secret" : "api_secret"
}
- or download this
> update-ip home example.com
...
Please enter your GoDaddy API secret and hit ENTER: ..api_secret...
Updated record for 'home.example.com' from x.x.x.x to x.x.x.x
- or download this
> update-ip home example.com
Not updating the 'home.example.com' record, IPs are the same
- or download this
> update-ip home example.com 10.7.10.2
- or download this
# Home storage server
*/15 * * * * update-ip home example.com >> /tmp/update-home_cron.log 2
+>&1
- or download this
*/15 * * * * update-ip roaming example.com >> /tmp/update-roaming_cron
+.log 2>&1
- or download this
Usage: update-ip host domain.name [ip.addr]