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

Merge pull request #10 from aklinkert/master

Load more than 20 records to work around big zones
This commit is contained in:
Alper Kanat 2020-06-26 11:11:56 +03:00 committed by GitHub
commit 37937309be
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)"