mirror of
				https://github.com/go-acme/lego.git
				synced 2025-10-31 08:27:38 +02:00 
			
		
		
		
	alidns: filter on record type (#1829)
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						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) | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user