diff --git a/dyndns.sh b/dyndns.sh index 2cac53f..6e00e66 100755 --- a/dyndns.sh +++ b/dyndns.sh @@ -20,7 +20,7 @@ while ( true ); do -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ $dns_list"?per_page=200") - ip="$(curl -s ipinfo.io/ip)" + ip="$(curl -s ifconfig.me)" if [[ -n $ip ]]; then for sub in ${NAME//;/ }; do