func cloudflareGetDNSRecord(api *cloudflare.API, zoneID string, DNS string) ([]cloudflare.DNSRecord, error) {
	dnsRecord := cloudflare.DNSRecord{Name: DNS}
	log.Debugf("Search for DNS Record for DNS %s", DNS)
	records, err := api.DNSRecords(zoneID, dnsRecord)
	if err != nil {
		return []cloudflare.DNSRecord{}, err
	}

	return records, nil
}
// Returns the Cloudflare DNSRecord for the given DNS
Returns the Cloudflare DNSRecord for the given DNS
// Returns the Cloudflare DNSRecord for the given DNS
func cloudflareGetDNSRecord(api *cloudflare.API, zoneID string, DNS string) ([]cloudflare.DNSRecord, error) {
	dnsRecord := cloudflare.DNSRecord{Name: DNS}
	log.Debugf("Search for DNS Record for DNS %s", DNS)
	records, err := api.DNSRecords(zoneID, dnsRecord)
	if err != nil {
		return []cloudflare.DNSRecord{}, err
	}
	return records, nil
}
func cloudflareGetDNSRecord ( api * cloudflare . API , zoneID string , DNS string ) ( [ ] cloudflare . DNSRecord , error ) { dnsRecord := cloudflare . DNSRecord { Name : DNS } log . Debugf ( " " , DNS ) records , err := api . DNSRecords ( zoneID , dnsRecord ) if err != nil { return [ ] cloudflare . DNSRecord { } , err } return records , nil }
Returns the Cloudflare DNSRecord for the given DNS
Returns the Cloudflare DNSRecord for the given DNS