MailFlatDocs
Documentation/DNS provider guides/Cloudflare

Connect your domain on Cloudflare

Add MailFlat's five DNS records in Cloudflare, with the proxy and priority settings that trip people up.
Cloudflare wants the full record name
Paste the record name as shown, including .acme.com. In the dashboard, switch the Provider dropdown to full name so the Host column matches what this panel expects.

Where the DNS editor is

  1. Log in to Cloudflare
  2. Pick your domain
  3. DNS → Records
  4. Add record
Field names here: Name for the record name, Content (Mail server for MX) for the value, Priority for MX priority.

The five records, as Cloudflare wants them

Your real values are on Domains in the dashboard — the verification token and the DKIM key are unique to your domain. Everything else looks exactly like this.
TypeNameContent (Mail server for MX)What it does
TXT_mailflat-verify.acme.commf-verify-… (yours is in the dashboard)Proves you own the domain. Verification fails without it.
MXacme.commail.mailflat.net.Priority 10PriorityRoutes incoming mail to MailFlat.
TXTacme.comv=spf1 include:mailflat.net ~allAuthorises MailFlat to send for your domain.
TXTmail._domainkey.acme.comv=DKIM1; k=rsa; p=… (yours is in the dashboard)Signs your outgoing mail.
TXT_dmarc.acme.comv=DMARC1; p=none;Tells receivers what to do when a check fails.

Cloudflare specifics

Cloudflare is forgiving about the Name field: it accepts @, a short name, or the full host.acme.com and stores the same record either way. That tolerance is exactly why a broken habit can survive here for years and then fail the day you move to another provider.
Leave TTL on Auto.
Proxy status must be DNS only (grey cloud). Mail is SMTP, not HTTP — an orange cloud cannot proxy it.
If another MX record already uses priority 10, give ours a different number rather than duplicating it.

Then verify

Back on Domains, press Verify. If it fails, the message says what is actually wrong — including the case where your records landed one level too deep, with the exact name we found them under. DNS changes are usually visible within minutes; a failure that names a wrong record will not fix itself by waiting.
More on custom domains: Custom domains (BYOD).