mirror of
https://github.com/tunix/digitalocean-dyndns
synced 2024-12-22 21:09:52 +00:00
Compare commits
2 commits
db6c6d4c00
...
37937309be
Author | SHA1 | Date | |
---|---|---|---|
|
37937309be | ||
|
32b03e6914 |
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ while ( true ); do
|
||||||
domain_records=$(curl -s -X GET \
|
domain_records=$(curl -s -X GET \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
|
-H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
|
||||||
$dns_list)
|
$dns_list"?per_page=200")
|
||||||
|
|
||||||
ip="$(curl -s ipinfo.io/ip)"
|
ip="$(curl -s ipinfo.io/ip)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue