mirror of
https://github.com/tunix/digitalocean-dyndns
synced 2024-06-18 02:10:29 +00:00
Replace ipinfo.io with ifconfig.me
This commit is contained in:
parent
37937309be
commit
14aa8191df
|
@ -20,7 +20,7 @@ while ( true ); do
|
||||||
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
|
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
|
||||||
$dns_list"?per_page=200")
|
$dns_list"?per_page=200")
|
||||||
|
|
||||||
ip="$(curl -s ipinfo.io/ip)"
|
ip="$(curl -s ifconfig.me)"
|
||||||
|
|
||||||
if [[ -n $ip ]]; then
|
if [[ -n $ip ]]; then
|
||||||
for sub in ${NAME//;/ }; do
|
for sub in ${NAME//;/ }; do
|
||||||
|
|
Loading…
Reference in a new issue