mirror of
https://github.com/go-acme/lego.git
synced 2024-11-29 01:42:09 +02:00
alidns: filter on record type (#1829)
This commit is contained in:
parent
ad612e639e
commit
4a14c315a2
@ -255,7 +255,7 @@ func (d *DNSProvider) findTxtRecords(fqdn string) ([]alidns.Record, error) {
|
||||
}
|
||||
|
||||
for _, record := range result.DomainRecords.Record {
|
||||
if record.RR == recordName {
|
||||
if record.RR == recordName && record.Type == "TXT" {
|
||||
records = append(records, record)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user