mirror of
https://github.com/go-acme/lego.git
synced 2025-01-07 00:37:37 +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 {
|
for _, record := range allRecords {
|
||||||
if record.Name == wanted {
|
if record.Name == wanted && record.Type == "TXT" {
|
||||||
return &record, nil
|
return &record, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user