code: func (d *DNSProvider) findTxtRecord(fqdn string, zoneID int) (*Record, error) {
  	result, err := d.makeRequest(http.MethodGet, fmt.Sprintf("/domains/%d/records?type=TXT&name=%s", zoneID, dns01.UnFqdn(fqdn)), nil)
  	if err != nil {
  		return nil, err
  	}
  
  	var records Records
  	err = json.Unmarshal(result, &records)
  	if err != nil {
  		return nil, err
  	}
  
  	switch len(records.Record) {
  	case 1:
  	case 0:
  		return nil, fmt.Errorf("no TXT record found for %s", fqdn)
  	default:
  		return nil, fmt.Errorf("more than 1 TXT record found for %s", fqdn)
  	}
  
  	return &records.Record[0], nil
  }
docs: // findTxtRecord searches a DNS zone for a TXT record with a specific name