Help for this page

Select Code to Download


  1. or download this
    use Addr::MyIP;
    use Net::DynDNS::GoDaddy;
    ...
    if ($current_host_ip ne $my_ip) {
        host_ip_set($host, $domain, $my_ip);
    }
    
  2. or download this
    {
       "api_key" : "api_key",
       "api_secret" : "api_secret"
    }
    
  3. 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
    
  4. or download this
    > update-ip home example.com
    Not updating the 'home.example.com' record, IPs are the same
    
  5. or download this
    > update-ip home example.com 10.7.10.2
    
  6. or download this
    # Home storage server
    */15 * * * * update-ip home example.com >> /tmp/update-home_cron.log 2
    +>&1
    
  7. or download this
    */15 * * * * update-ip roaming example.com >> /tmp/update-roaming_cron
    +.log 2>&1
    
  8. or download this
    Usage: update-ip host domain.name [ip.addr]