MailFlatDocs
Documentation/DNS provider guides/Vercel

Connect your domain on Vercel

Adding MailFlat's records to a domain whose DNS lives in your Vercel project.
Vercel adds your domain to whatever you type
Enter names without your domain — _mailflat-verify, not _mailflat-verify.acme.com. Typing the full name stores it as _mailflat-verify.acme.com.acme.com, and no amount of waiting will make that verify. In the dashboard, keep the Provider dropdown on name only and use the copy button next to each Host.

Where the DNS editor is

  1. Vercel dashboard → Domains
  2. Pick your domain
  3. Add record
Field names here: Name for the record name, Value for the value, Priority for MX priority.

The five records, as Vercel 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.
TypeNameValueWhat it does
TXT_mailflat-verifymf-verify-… (yours is in the dashboard)Proves you own the domain. Verification fails without it.
MX@mail.mailflat.net.Priority 10PriorityRoutes incoming mail to MailFlat.
TXT@v=spf1 include:mailflat.net ~allAuthorises MailFlat to send for your domain.
TXTmail._domainkeyv=DKIM1; k=rsa; p=… (yours is in the dashboard)Signs your outgoing mail.
TXT_dmarcv=DMARC1; p=none;Tells receivers what to do when a check fails.

Vercel specifics

Vercel adds your domain for you. Leave Name empty for the root record.
The default TTL (60) is fine.
If the domain is only *pointed* at Vercel and its DNS is hosted elsewhere, add the records at the provider holding the nameservers instead — check the NS records if you are unsure.

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).