Unverified Commit 06302871 authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #1543 from Rid/patch-2

Fix DNSimple when zone has > 100 records
parents f4c7822b c1ec2afe
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment