Skip to content
Cloudflare Docs

Verify a domain with CNAME

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 disabled.
  • On the DNS records table: you have filled in the CNAME record fields correctly, proxy status is set to DNS only, and Flatten is disabled.
  • 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.