From 179821506dc5905844d4dbc6a7bc0e4267337518 Mon Sep 17 00:00:00 2001 From: "Kalle M. Aagaard" Date: Tue, 19 Dec 2023 16:56:40 +0100 Subject: [PATCH] caddy uses append and not set --- provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/provider.go b/provider.go index c2524ca..db06d75 100644 --- a/provider.go +++ b/provider.go @@ -145,9 +145,9 @@ func (p *Provider) GetRecords(ctx context.Context, zone string) ([]libdns.Record } // AppendRecords adds records to the zone. It returns the records that were added. -// This is not supported by the ACMEProxy provider. +// It does the same as SetRecords. func (p *Provider) AppendRecords(ctx context.Context, zone string, records []libdns.Record) ([]libdns.Record, error) { - return nil, fmt.Errorf("ACMEProxy provider does not support appending records") + return p.SetRecords(ctx, zone, records) } // SetRecords sets the records in the zone, either by updating existing records or creating new ones.