forked from TrueCloudLab/lego
designate: Don't clean up managed records like SOA and NS (#1044)
This commit is contained in:
parent
add2bea577
commit
470f04590b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue