Client Zone Knowledgebase ezy365 DNS records for Microsoft 365 email

DNS records for Microsoft 365 email

Print
dns, mx, spf, dkim, dmarc 0

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.

Updated 19 November 2026Applies to Microsoft 365 plans with email

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

  1. 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.

  2. MX: where your email is delivered

    Tells other mail systems to deliver your email to Microsoft 365.

    TypeMX
    Name@
    Points toyourbusiness-com-au.mail.protection.outlook.com (copy yours)
    PriorityThe 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.

  3. Autodiscover: lets Outlook set itself up

    TypeCNAME
    Nameautodiscover
    Points toautodiscover.outlook.com
  4. SPF: 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 add include:spf.protection.outlook.com before the ending. Don't create a second record.

    TypeTXT
    Name@
    Valuev=spf1 include:spf.protection.outlook.com -all

    Send 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.

  5. 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.

    TypeNamePoints to
    CNAMEselector1._domainkeycopy from the DKIM page
    CNAMEselector2._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.

  6. DMARC: tells the world what to do with fakes

    Start in monitoring mode, which changes nothing about delivery:

    TypeTXT
    Name_dmarc
    Valuev=DMARC1; p=none; rua=mailto:dmarc@yourbusiness.com.au

    The rua address receives daily reports from other mail systems. Once those reports show only your own services sending as you, change p=none to p=quarantine, and later to p=reject.

  7. 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, not selector1._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

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).

Was this guide helpful?

Still stuck?

Send us the details and our team will take it from here

Open Ticket