From 1690dd758c619f6849145543edd8d46ad85818f9 Mon Sep 17 00:00:00 2001 From: Jim Gilbert Date: Tue, 9 Nov 2021 15:20:40 -0500 Subject: [PATCH] Use ShowAll: true query argument for recordsets resource Add ShowAll: true query argument so that the API returns all records without pagination controls. --- README.md | 1 + provider/akamai/akamai.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3271acfa4..dfde207d3 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ The are two ways of running ExternalDNS: The following tutorials are provided: +* [Akamai Edge DNS](docs/tutorials/akamai-edgedns.md) * [Alibaba Cloud](docs/tutorials/alibabacloud.md) * AWS * [ALB Ingress Controller](docs/tutorials/alb-ingress.md) diff --git a/provider/akamai/akamai.go b/provider/akamai/akamai.go index 45165f251..6132a7d7e 100644 --- a/provider/akamai/akamai.go +++ b/provider/akamai/akamai.go @@ -223,7 +223,7 @@ func (p AkamaiProvider) Records(context.Context) (endpoints []*endpoint.Endpoint return endpoints, err } for _, zone := range zones.Zones { - recordsets, err := p.client.GetRecordsets(zone.Zone, dns.RecordsetQueryArgs{}) + recordsets, err := p.client.GetRecordsets(zone.Zone, dns.RecordsetQueryArgs{ShowAll: true}) if err != nil { log.Errorf("Recordsets retrieval for zone: '%s' failed! %s", zone.Zone, err.Error()) continue