Mail: Step 2. DNS records: so mail arrives
In the examples, mail.company.com stands for the name of your mail server. You will find it in the panel and in the email with your server details; company.com stands for your company domain.
DNS is the internet’s phone book. Until it says that this server handles mail for your domain, messages will go where there is no mail, or land in spam. Records are added wherever the domain is managed: at the registrar, in Cloudflare, or in a hosting panel.
What each record means
MX
The key record: “mail for this domain is accepted by that server”. Without it, incoming mail does not arrive at all.
A record of the mail host
Turns the name mail.yourdomain into the server’s
address. MX points at that name, and your staff use it in their mail apps.
SPF
The list of who may send mail on behalf of your domain. Without it your mail often lands in spam.
DKIM
A signature on every message. The recipient checks it and knows the message was neither forged nor altered on the way.
DMARC
Tells recipients what to do with messages that fail the signature check. Large providers treat a domain with DMARC noticeably better.
PTR (reverse record)
Turns the server’s address back into a name. It lives not in your DNS but with the owner of the address — that is, with us. If it is red, write to support: you cannot change it yourself.
How to add the records
- Open Deliverability. Red and yellow rows are what needs fixing.
- Press Copy next to a row — the whole ready-made record goes to your clipboard.
- If the domain is in Cloudflare, press How to add: the panel shows what to put in every field of the Cloudflare form — Type, Name, Content, Proxy status.
- Add the record in your DNS and come back. Refresh the page: the check runs live queries, nothing needs restarting.
How long to wait. A new record is usually visible within minutes, sometimes up to an hour. If a row is still red, wait and refresh once more before changing anything — time is often the only problem.
Common mix-ups
- The MX record must point at a name (
mail.company.com), not at a numeric address. - In Cloudflare the orange cloud must be off (grey, “DNS only”) for the MX and the mail host’s A record. With proxying on, mail will not work.
- There must be exactly one SPF record. Two SPF records is an error that breaks the check.