From 470f04590bfca896e33e5fbf76f28384ee6d8df4 Mon Sep 17 00:00:00 2001 From: Steffen Neubauer Date: Sat, 18 Jan 2020 01:54:07 +0100 Subject: [PATCH] designate: Don't clean up managed records like SOA and NS (#1044) --- providers/dns/designate/designate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/dns/designate/designate.go b/providers/dns/designate/designate.go index 395f011f..6472de54 100644 --- a/providers/dns/designate/designate.go +++ b/providers/dns/designate/designate.go @@ -240,7 +240,7 @@ func (d *DNSProvider) getRecord(zoneID string, wanted string) (*recordsets.Recor } for _, record := range allRecords { - if record.Name == wanted { + if record.Name == wanted && record.Type == "TXT" { return &record, nil } }