Browse Source
Merge pull request #1543 from Rid/patch-2
Fix DNSimple when zone has > 100 records
pull/2056/head
neil
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_dnsimple.sh
|
|
@ -152,7 +152,7 @@ _get_records() { |
|
|
|
sub_domain=$3 |
|
|
|
|
|
|
|
_debug "fetching txt records" |
|
|
|
_dnsimple_rest GET "$account_id/zones/$domain/records?per_page=100" |
|
|
|
_dnsimple_rest GET "$account_id/zones/$domain/records?per_page=5000&sort=id:desc" |
|
|
|
|
|
|
|
if ! _contains "$response" "\"id\":"; then |
|
|
|
_err "failed to retrieve records" |
|
|
|