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.
You may find issues if you have one of the following:
- The CNAME record you created for domain verification is set to Proxied.
- The CNAME record is correctly set to DNS only (not proxied) but, in your zone settings ↗, CNAME flattening for all CNAME records is enabled.
- The CNAME record is correctly set to DNS only (not proxied) but CNAME flattening is enabled for that record specifically.
- An NS record ↗ exists, causing a different DNS provider to be authoritative for the subdomain.
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.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark