1
0
Fork 0
mirror of https://github.com/tunix/digitalocean-dyndns synced 2024-12-22 21:09:52 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Alper Kanat
37937309be
Merge pull request #10 from aklinkert/master
Load more than 20 records to work around big zones
2020-06-26 11:11:56 +03:00
Alex Klinkert
32b03e6914
Load more than 20 records to work around big zones 2020-06-25 20:51:17 +02:00

View file

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