Cloudflare DNS Helper

The two records a custom domain needs, and how to enter them in a Cloudflare DNS zone.


When to use this

Use this guide when your domain's DNS is at Cloudflare and you are adding a custom domain as described in Serve Your Site on Your Own Domain. That guide has the statuses, limits and the reasons a check fails.

Add the records

In the Cloudflare dashboard, open the zone, DNS, Records, and add both records for the name (www.example.com here):

TypeNameContent
TXT_nfltr-challenge.wwwnfltr-verify=<token> (copy it from the dashboard's Custom domains)
CNAMEwwwdomains.nfltr.xyz

For the apex of the zone (example.com), Cloudflare flattens a CNAME to domains.nfltr.xyz itself; the alternative is the A and AAAA records the dashboard shows.

Set the CNAME (or the A and AAAA records) to DNS only. A proxied record answers with Cloudflare's addresses, so nfltr sees the name as not pointed at it.

Check from your terminal

dig +short TXT _nfltr-challenge.www.example.com
dig +short www.example.com

The first shows "nfltr-verify=…", the second the addresses of domains.nfltr.xyz. Then press Check now on the domain in the dashboard.