FFree Domain MailFREE
Sign inCreate accountOpen app →
Open menu

Blog

Cloudflare DNS Setup for a Catch-All Email Inbox

By Free Domain Mail team · Operated by Hoang Uy Household Business · Updated

Cloudflare DNS can host your mail records while your domain stays registered elsewhere. To receive mail at every address on the domain with Free Domain Mail, add one TXT ownership record and one MX record pointing to mx.freedomainmail.com in the Cloudflare zone.

Records for a catch-all inbox

Free Domain Mail is a catch-all inbox for a domain you own: every address at the domain receives mail, nothing has to be created per address, and messages are kept for 90 days. It never forwards mail; sending from the domain is optional and needs three more TXT records shown in the app.

Add a TXT record with Name _maildock-verify and the maildock-verify=… value shown in the app, and an MX record at @ with mail server mx.freedomainmail.com and priority 10. The app shows the exact host and value: at providers that append the domain automatically, enter only _maildock-verify; at providers that want the full name, use _maildock-verify.yourdomain.com.

DNS records to add (copy the exact TXT value shown in the app)
Type  Name / Host        Value                                 Priority
TXT   _maildock-verify   maildock-verify=… (shown in the app)  —
MX    @                  mx.freedomainmail.com                 10

Turn off Cloudflare Email Routing first

The MX records decide where all incoming mail for the domain goes. If the domain already receives mail you depend on, such as a work mailbox, connect a different domain instead.

If Cloudflare Email Routing is enabled for the domain, it manages the domain's MX records. Turning it off stops the forwarding Email Routing was doing for that domain. Disable Email Routing for that domain before adding the Free Domain Mail MX record, so incoming mail has a single destination.

Then remove any other MX records left in the zone. Senders can deliver to any host listed in the MX set, so an extra record sends some mail elsewhere.

Cloudflare Email Routing page showing Enable Email Routing and an Onboard Domain button, meaning Email Routing is not enabled
Screenshot from Cloudflare's dashboard (November 2026): Email Routing is not enabled for the domain. Leave it that way. Do not click Onboard Domain, because Email Routing would replace your MX records with Cloudflare's own.

Add records

Open the domain in Cloudflare, choose DNS, then Add record. Select TXT or MX.

For the root-domain MX record, use @ when Cloudflare asks for the name; the ownership TXT record goes at _maildock-verify instead. MX and TXT records are DNS-only; keep existing website A and CNAME records unless you intentionally change website hosting.

Cloudflare Add record form with Type MX, Name @, Mail server mx.freedomainmail.com, Priority 10 and TTL Auto
Screenshot from Cloudflare's dashboard (November 2026): the MX record. Type MX, Name @, Mail server mx.freedomainmail.com, Priority 10, TTL Auto. It was taken in this site's own zone, so the line above the fields names freedomainmail.com; yours shows your domain.
Cloudflare Add record form with Type TXT, Name _maildock-verify, Content maildock-verify=your-code-here and TTL Auto
Screenshot from Cloudflare's dashboard (November 2026): the ownership TXT record. Type TXT, Name _maildock-verify, TTL Auto. In Content, paste the exact maildock-verify=… value from your domain page in Free Domain Mail; your-code-here only stands in for it.

SPF, DKIM and DMARC: only if this domain also sends mail

Receiving does not need these records; they are only needed if this domain also sends mail, either through Free Domain Mail (the app shows a DKIM, an SPF and a DMARC TXT record) or through another provider.

In that case, merge every sender into one SPF TXT record at @, add the provider's DKIM record exactly as shown, and publish DMARC at _dmarc starting with p=none.

Check the result

Run an MX lookup once the old TTL has passed. The answer should list only mx.freedomainmail.com.

Send a message from an outside account to any name at the domain and confirm it arrives in the inbox.

Cloudflare DNS Records list with one MX record: name freedomainmail.com, content mx.freedomainmail.com, Proxy status DNS only, TTL Auto
Screenshot from Cloudflare's dashboard (November 2026): the finished MX record in the DNS Records list. Your domain needs one MX record at @ (listed under the domain name) pointing to mx.freedomainmail.com, shown as DNS only.

Common errors with Cloudflare

Email Routing still owns the MX records

When Cloudflare Email Routing is enabled it adds its own MX, SPF and DKIM records to the root domain and locks them: locked records cannot be edited or deleted from DNS > Records until they are unlocked. Disabling Email Routing removes every routing record it added, including any locked record you edited to point somewhere else. Disable it (or unlock its records) first, then add the MX record for mx.freedomainmail.com and check that no Cloudflare MX record is left.

Expecting the orange cloud on mail records

Cloudflare only proxies A, AAAA and CNAME records; MX and TXT records are always DNS only, so there is no proxy switch to set on them. If you point the MX record at a hostname inside your own zone (for example mail.yourdomain.com) instead of mx.freedomainmail.com, keep that A or CNAME record DNS only (grey cloud): Cloudflare's proxy carries web traffic, and Cloudflare recommends DNS only for records used for email.

Editing a zone that is not authoritative

Records in the Cloudflare dashboard only matter when the domain's nameservers at the registrar are the two Cloudflare nameservers shown for that zone. If the domain still uses the registrar's nameservers, add the records there instead, or finish moving the nameservers first.

How long DNS takes at Cloudflare

Cloudflare's documentation ties how quickly a change reaches visitors to the record's TTL: resolvers that already cached the old MX answer keep it until that TTL runs out. A new record that nobody has looked up yet is usually visible within minutes.

If you have just changed the domain's nameservers to Cloudflare, that switch happens at the registry and usually takes longer than a record change, often several hours. Run an MX lookup from outside Cloudflare before you conclude that something is wrong.

Sources, checked on November 8, 2026:

Common mistakes to avoid

  • Adding the domain name twice to a hostname.
  • Leaving Cloudflare Email Routing enabled while pointing MX at another service.
  • Replacing an existing SPF TXT record instead of merging legitimate senders, when the domain also sends.

Frequently asked questions

What TTL should I choose?

Auto or one hour is usually fine for a first setup.

Does Cloudflare store the mail?

No. Cloudflare DNS only publishes the records. The MX record sends incoming mail to mx.freedomainmail.com, where it is kept for 90 days.

Can Email Routing and Free Domain Mail run on the same domain?

Not together. Both depend on the domain's MX records, so disable Email Routing for the domain you connect to Free Domain Mail.

Technical references

Primary specifications and provider documentation relevant to this guide:

Useful next steps

Related guides