For email to reach Microsoft 365, and for your sent mail to be trusted, your domain needs five kinds of DNS record. This guide explains what each one does and where to find the exact values for your domain.
What you'll need
- A Microsoft 365 admin sign-in
- A sign-in to wherever your domain's DNS is managed (your DNS host)
- About 30 minutes, then up to 48 hours for changes to spread
Copy the values, don't type them. Parts of the MX and DKIM values are unique to your business. Always copy them from the Microsoft 365 admin centre, as in step 1. The values in this guide are examples for yourbusiness.com.au only.
Add the records
Find your values in Microsoft 365
Sign in at
admin.cloud.microsoft, go to Settings > Domains, select your domain, then open the DNS records tab. Keep this page open.MX: where your email is delivered
Tells other mail systems to deliver your email to Microsoft 365.
Type MX Name @Points to yourbusiness-com-au.mail.protection.outlook.com(copy yours)Priority The lowest number of any MX record on your domain, for example 0 All your email moves the moment this record changes. Make sure every mailbox exists in Microsoft 365 first. Then remove any MX records that point to your old email service.
Autodiscover: lets Outlook set itself up
Type CNAME Name autodiscoverPoints to autodiscover.outlook.comSPF: says which servers may send as you
Your domain can have only one SPF record. If it already has one (it starts
v=spf1), edit that record and addinclude:spf.protection.outlook.combefore the ending. Don't create a second record.Type TXT Name @Value v=spf1 include:spf.protection.outlook.com -allSend from other services too? A newsletter or accounting system that sends as your domain needs its own
include:in the same record. Ask that service for the value.DKIM: signs every message you send
Two records, both needed. Get the values from the Microsoft Defender portal:
security.microsoft.com> Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM, then select your domain.Type Name Points to CNAME selector1._domainkeycopy from the DKIM page CNAME selector2._domainkeycopy from the DKIM page Once both records are in place, return to the DKIM page and turn signing on for your domain. It can take a few minutes, or longer, before Microsoft sees the records.
DMARC: tells the world what to do with fakes
Start in monitoring mode, which changes nothing about delivery:
Type TXT Name _dmarcValue v=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.com.auThe
ruaaddress receives daily reports from other mail systems. Once those reports show only your own services sending as you, changep=nonetop=quarantine, and later top=reject.Check your domain
Back in the admin centre, go to Settings > Domains. When Microsoft can see all your records, your domain's status shows Healthy.
Still not working?
- Most DNS hosts add your domain to the name for you. Enter
selector1._domainkey, notselector1._domainkey.yourbusiness.com.au. - Changes can take up to 48 hours to be seen everywhere, depending on your DNS host.
- Still stuck? Open a ticket with your domain name and a screenshot of the DNS records tab.
What's next
- Where to sign in to Microsoft 365Your apps, your email and the admin centre
- Send email from printers, scanners and appsThe three ways Microsoft 365 accepts mail from devices
Records follow Microsoft Learn: "External Domain Name System records for Microsoft 365", "Set up DKIM to sign mail from your cloud domain" and "Set up DMARC to validate the From address domain for cloud senders" (November 2026).