designate: Don't clean up managed records like SOA and NS (#1044)

This commit is contained in:
Steffen Neubauer 2020-01-18 01:54:07 +01:00 committed by Ludovic Fernandez
parent add2bea577
commit 470f04590b

View file

@ -240,7 +240,7 @@ func (d *DNSProvider) getRecord(zoneID string, wanted string) (*recordsets.Recor
} }
for _, record := range allRecords { for _, record := range allRecords {
if record.Name == wanted { if record.Name == wanted && record.Type == "TXT" {
return &record, nil return &record, nil
} }
} }