Skip to content

Commit 1d8168c

Browse files
Constantin07patryk
authored andcommitted
Increase per_page for DNS records up to 100. (#377)
1 parent e253a3e commit 1d8168c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dns.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ func (api *API) CreateDNSRecord(zoneID string, rr DNSRecord) (*DNSRecordResponse
6969
func (api *API) DNSRecords(zoneID string, rr DNSRecord) ([]DNSRecord, error) {
7070
// Construct a query string
7171
v := url.Values{}
72-
// Request as many records as possible per page - API max is 50
73-
v.Set("per_page", "50")
72+
// Request as many records as possible per page - API max is 100
73+
v.Set("per_page", "100")
7474
if rr.Name != "" {
7575
v.Set("name", rr.Name)
7676
}

0 commit comments

Comments
 (0)