Verify a domain with CNAME

Last updated Apr 16, 2026 When configuring services from external providers - such as email services, for example - it is possible that they require you to verify your domain by placing a CNAME record at your zone, similar to the following:

<value>._domainkey.example.com CNAME <hostname>.<service provider domain>

Consider the sections below if this is not working correctly for you.

Causes

You may find issues if you have one of the following:

Solution

Make sure that:

  • In your zone DNS settings: CNAME flattening for all CNAME records is turned off.
  • On the DNS records table: you have filled in the CNAME record fields correctly, proxy status is set to DNS only, and Flatten is turned off.
  • You have the correct NS configuration, and either:
  • Make sure that the CNAME record is set as expected with the DNS provider that the NS record points to.
  • Review your configuration for other DNS records that may be affected by the NS record. Once you are aware of any consequences or have made any necessary adjustments, remove the NS record so that the CNAME is resolved to the target you configured on Cloudflare.

Was this helpful?

YesNo

On this page

Verify a domain with CNAME - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/cname-domain-verification/#page","headline":"Verify a domain with CNAME","description":"Troubleshoot domain verification failures caused by proxied CNAME records, CNAME flattening, or NS record conflicts.","url":"https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/cname-domain-verification/","inLanguage":"en","image":"https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/cname-domain-verification/og.png?v=e541802b4b187e00","dateModified":"2026-04-16","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Resolve conflicts with existing NS records. title: NS records already exist image: https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/existing-ns-record/og.png?v=c884db1c94aee9b5


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/dns/llms.txt
Use this file to discover all available pages before exploring further.