mirror of
https://github.com/go-acme/lego.git
synced 2025-01-03 15:23:32 +02:00
designate: Don't clean up managed records like SOA and NS (#1044)
This commit is contained in:
parent
add2bea577
commit
470f04590b
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user