Untitled

View as JSON View RAW
IPv4=`curl -s http://whatismyip.akamai.com/`

# send addresses to dynv6
$bin "https://dynv6.com/api/update?hostname=$hostname&ipv6=$current&token=$token"
$bin "https://ipv4.dynv6.com/api/update?hostname=$hostname&ipv4=$IPv4&token=$token"