Microsoft 365 Admin in 7 Days

Day 4: Domains, DNS and why email lands in Junk

Read a real domain's MX, SPF, DKIM and DMARC records with a free checker.

Every company wants email from its own domain, not @yourtenant.onmicrosoft.com. Adding that domain, and getting its DNS records right, decides whether mail arrives, lands in Junk, or can be faked by someone else.

The lesson

When you add a domain under Settings > Domains, Microsoft 365 asks you to prove you own it (a TXT record), then shows the records to create at your DNS host. The four that matter for email:

  • MX: where mail for the domain is delivered. Point it at Microsoft 365 and mail flows into Exchange Online.
  • SPF (a TXT record starting v=spf1): which servers may send mail for the domain. For Microsoft 365 it includes spf.protection.outlook.com.
  • DKIM: a signature on every outgoing message, published as two CNAME records and switched on in the Microsoft Defender portal.
  • DMARC (a TXT record at _dmarc.): what receivers should do with mail that fails SPF and DKIM, and where to send reports. You start with p=none, read the reports, then move towards p=reject.

Get these wrong and your mail goes to Junk, or worse, anyone can send mail that looks like it came from your boss. Our full walkthrough: SPF, DKIM and DMARC for Microsoft 365.

Today's task (15 to 20 minutes)

You can do this one with or without a tenant.

  1. Open the free EpiFive email domain checker and check a domain you know: your company's, your college's, or a big brand's.
  2. Write down in your log: where does its MX point? Does it have SPF, and does it end in -all or ~all? Is there a DMARC record, and what is its p= value?
  3. Now draft a DMARC record for a domain you might manage, using the DMARC record generator. Start with p=none and a reporting address.
  4. With a tenant: open Settings > Domains in the Microsoft 365 admin center, select your onmicrosoft.com domain and look at its DNS records tab. Note which records Microsoft manages for you.

Read next on EpiFive

Tomorrow

Day 5: the security basics every new tenant needs, in the order you should switch them on. Read day 5 on the site.