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

Load more than 20 records to work around big zones

This commit is contained in:
Alex Klinkert 2020-06-25 20:51:17 +02:00 committed by GitHub
parent db6c6d4c00
commit 32b03e6914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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