Provider

Cloudflare Email Routing and Email Service DKIM selectors

A miss is not proof

DKIM selectors cannot be listed through DNS. If none of the selectors below answers on a domain, that does not prove the domain has no DKIM or does not use Cloudflare Email Service: the selector may be custom, rotated or retired. A signed message shows the real one.

Cloudflare uses one selector per email service, and both keys are TXT records in your own zone. Email Routing publishes its key at cf2024-1._domainkey.<domain> and Email Sending at cf-bounce._domainkey.<domain>. The two use separate keys.

Cloudflare sets both selector names and generates and manages the keys, so there is no selector to choose. For Email Routing, the DKIM record is one of the records Cloudflare adds to the root domain when the domain is onboarded in the dashboard. Turning Email Routing off removes the routing MX, SPF and DKIM records it added.

The documentation shows the value as v=DKIM1; h=sha256; k=rsa; p=…, cut short, and gives no key size. Both services use the SPF include _spf.mx.cloudflare.net. Keys are rotated on request: contact Cloudflare support, then update the TXT record with the new key when Cloudflare provides it.

dkim.fyi’s discovery tries cf-bounce and cf2024-1 first when the domain’s SPF record includes _spf.mx.cloudflare.net. The records are TXT, so there is no CNAME target to identify the provider; dkim.fyi attributes them by selector name, which is a hint at medium confidence. When the SPF record also includes Cloudflare, Discover marks the hit likely, which is as far as DNS can go for a key published as TXT.

Usual selector
cf2024-1 (Email Routing) and cf-bounce (Email Sending)
Record type
TXT
Dataset confidence
highHow sure the dataset is that Cloudflare Email Service uses these names, not that a key found under one is theirs.

Selectors

Cloudflare Email Service selectors by source and status
SelectorSourceStatusNote
cf2024-1Vendor documentationcurrentEmail Routing. Selector provided by Cloudflare.
cf-bounceVendor documentationcurrentEmail Sending. Selector managed by Cloudflare.

Record forms

Cloudflare Email Service DNS record forms
NameTypeValueNote
cf2024-1._domainkey.<domain>TXTv=DKIM1; h=sha256; k=rsa; p=<public key>Added by Cloudflare when Email Routing is onboarded.
cf-bounce._domainkey.<domain>TXTv=DKIM1; h=sha256; k=rsa; p=<public key>Email Sending, with the public key Cloudflare provides.

Where sources disagree

  • How long to wait: the domain configuration page says DNS changes can take up to 24 hours to propagate, usually 5 to 15 minutes for domains on Cloudflare DNS. The troubleshooting page says to wait up to 48 hours when DKIM validation fails.

Check it live

What goes wrong

The DKIM record is missing
Cloudflare says to copy the record details from the Settings page, then add the DKIM TXT record under DNS > Records with the correct selector name and public key.
A record marked Unlocked
The dashboard shows each record as Locked or Unlocked. Cloudflare says both states mean the record is configured correctly.
Email Routing next to another mail server
Cloudflare lists Email Routing with external mail servers as a combination that cannot be used.
A rotated key that is not in DNS yet
After a rotation requested through support, the TXT record has to be updated with the new key that Cloudflare provides.
Records gone after turning Email Routing off
Disabling Email Routing removes the MX, SPF and DKIM records it added to the root domain, so cf2024-1 no longer answers.

Sources

  1. Email authentication · Cloudflare Email Service docs
  2. Domain configuration · Cloudflare Email Service docs
  3. Troubleshooting · Cloudflare Email Service docs