Xpoudy

How to Check if Cloudflare CNAME Flattening Is Breaking DKIM Verification

Short answer

If your mail provider expects a public DKIM CNAME and sees another answer, query the exact selector as CNAME. Check Cloudflare proxy and flattening settings. For a provider-managed DKIM selector that must return a CNAME, use DNS only and leave that selector unflattened.

By Xpoudy ·

Confirm the expected record and public answer

Copy the selector name and target from the mail provider. Use Xpoudy DNS Lookup with the full hostname and the CNAME type. If the alias is absent, verify active nameservers, the entry type and its effective name before changing proxy or flattening settings.

Review the setting that changes the response

Cloudflare can flatten eligible CNAMEs. An alias-based verification flow may need to see the original CNAME. Use the applicable record or zone setting, and review the effect on other records before changing zone-wide behavior. Keep website and mail host decisions scoped.

Verify the provider again

Query public DNS a second time and check the exact target. Reopen the provider’s verification screen. Send a new message after activation and inspect the DKIM signer and selector to verify the end-to-end result.