Services

Mail records: MX, SPF, DKIM and DMARC

An organisation’s mail is decided in DNS before a message reaches a mailbox. We set MX, one coherent SPF, DKIM and DMARC so the policy can be tightened later, not merely “so that something is there”.

MX and what sits beside it

MX should name the host that actually accepts mail. Beside it there is often an old record, or an autodiscover left from the previous provider. We collect the names the mail client and the provider use, and remove only those the organisation confirms as unused.

One SPF

Two SPF records mean as much as none: receivers are supposed to treat that set as an error. We leave one, with include only for systems that really send. We flag +all as a fault, because it accepts the rest of the internet.

The difference between ~all and -all is a decision, not a dogma. -all belongs once the sender list is complete. ~all stays while you are still discovering who sends invoices, newsletters or application notices.

DKIM needs a selector

A DKIM key lives at selector._domainkey. Without the selector there is nothing to check. Microsoft 365 usually uses selector1 and selector2, but we take the names from current Microsoft documentation and the tenant panel, not from an old cheat sheet.

A published record does not prove the server signs with it. Those are two checks: whether the TXT is in DNS, and whether outbound mail carries a valid signature.

DMARC that can be tightened

We start from a policy that does not throw away legitimate mail. That is usually p=none and an rua address somebody in the organisation reads. Only when the reports stop showing unexpected legitimate senders does the conversation move to quarantine, then to reject.

p=reject is the goal where all legitimate mail is signed and aligned with the domain. Switched on too early, it cuts off your own invoices. We do not do that “on principle” on day one.

Related

Questions

Do you set up Microsoft 365 mail records?

Yes: the DNS records the service requires, MX, SPF, DKIM and related entries, following current Microsoft documentation. World Support Service is a Microsoft partner. That does not mean every mailbox must move to Microsoft 365. We set DNS for the provider the organisation chose.

Does the checker on this site replace that work?

No. The checker shows the public answer from the 1.1.1.1 resolver, including SPF, DMARC and DKIM if you supply a selector. It does not see whether the key matches mail that actually leaves, and it does not change the zone.