|
|
|
@ -12,7 +12,11 @@ info() { printf "\n%s %s\n\n" "$( date )" "$*" >&2; }
|
|
|
|
|
|
|
|
|
|
info "Starting IP update for subdomains"
|
|
|
|
|
|
|
|
|
|
echo "https://dynamicdns.park-your-domain.com/update?host=$DYDNS_DOMAIN&domain=$DYDNS_HOST&password=$DYDNS_PASSWORD"
|
|
|
|
|
curl "https://dynamicdns.park-your-domain.com/update?host=$DYDNS_DOMAIN&domain=$DYDNS_HOST&password=$DYDNS_PASSWORD"
|
|
|
|
|
echo "https://dynamicdns.park-your-domain.com/update?host=$DYDNS_HOST&domain=$DYDNS_DOMAIN&password=$DYDNS_PASS"
|
|
|
|
|
|
|
|
|
|
# first subdomain
|
|
|
|
|
curl "https://dynamicdns.park-your-domain.com/update?host=$DYDNS_HOST&domain=$DYDNS_DOMAIN&password=$DYDNS_PASS"
|
|
|
|
|
# second subdomain
|
|
|
|
|
curl "https://dynamicdns.park-your-domain.com/update?host=$DYDNS_HOST2&domain=$DYDNS_DOMAIN&password=$DYDNS_PASS"
|
|
|
|
|
|
|
|
|
|
info "IP update done"
|
|
|
|
|