1
0
Fork 0
mirror of https://github.com/tunix/digitalocean-dyndns synced 2024-05-18 05:33:38 +00:00

Replace ipinfo.io with ifconfig.me

This commit is contained in:
Viktor Gustavsson 2020-12-07 14:03:34 +01:00
parent 37937309be
commit 14aa8191df

View file

@ -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