There was a problem loading the comments.

How to Set Up Microsoft 365 DNS Records

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Step 1: Log in to Microsoft 365 Admin Center

  1. Go to https://admin.microsoft.com
    2. Sign in using a Global Admin account
    3. Navigate to: Settings → Domains
    4. Select your domain name
    ffdfa0078fd44190a2a2112aed147e0bd8f91a65502ad83b66ae7785e2cf1df7ba8912c91adba945?t=3918d0ba0611be0a5193392ddbac6b84Configure a custom domain name - Microsoft Intune | Microsoft Learn

Step 2: Get Microsoft 365 DNS Records

  1. Under your domain, click DNS records
    2. Microsoft 365 will display the required DNS records:
    - TXT (Domain verification)
    - MX (Email routing)
       - CNAME (Autodiscover)
       - TXT (SPF)
    d3891b18d1ee91a263a547383548cb7e57904e66e4ca4db8533a6f64d6eae8ca25ec36903f53953f?t=813e293a92bf69baab45565583e8eeecc904475677d1d98f7e4af14045035689ee5f2c7a103cae71cbc5d2a6706d35afbe590b2005efdc11?t=ff449b943be059ccf36b68302caef6c5

Step 3: Add DNS Records at Your DNS Provider

Log in to your DNS provider (domain registrar or hosting DNS panel) and add the following records.

[Screenshot: DNS provider control panel – Add DNS records]

1️⃣ TXT – Domain Verification

Type: TXT
Host/Name: @
Value: MS=msXXXXXXXX
TTL: 3600

Used to verify domain ownership.

2️⃣ MX – Mail Exchange (Required for Email)

Type: MX
Host/Name: @
Value: yourdomain-com.mail.protection.outlook.com
Priority: 0
TTL: 3600

Important: Remove old MX records to avoid email delivery issues.

3️⃣ CNAME – Autodiscover

Type: CNAME
Host/Name: autodiscover
Value: autodiscover.outlook.com
TTL: 3600

Required for Outlook and Microsoft 365 auto-configuration.

4️⃣ TXT – SPF Record

Type: TXT
Host/Name: @
Value: v=spf1 include:spf.protection.outlook.com -all
TTL: 3600

Prevents email spoofing and improves email delivery.
Note: Only ONE SPF record should exist.

Step 4: Verify DNS in Microsoft 365

  1. Return to Microsoft 365 Admin Center
    2. Click Verify
    3. Wait for DNS propagation (a few minutes up to several hours)

Once verified, the domain status will show Healthy / Set up complete


Share via

Related Articles

Copyright © 2026 TheGigabit. All right reserved. Reg.No: 200701034297 (792326-P)