forked from TrueCloudLab/lego
alidns: filter on record type (#1829)
This commit is contained in:
parent
ad612e639e
commit
4a14c315a2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue