Skip to content

Latest commit

 

History

History
96 lines (65 loc) · 3.49 KB

information-for-dns-records.md

File metadata and controls

96 lines (65 loc) · 3.49 KB
title f1.keywords ms.author author manager ms.date audience ms.topic ms.service ms.localizationpriority ms.collection ms.custom search.appverid ms.assetid description
Gather the information you need to create DNS records
NOCSH
nkagole
nataliekagole
scotv
11/07/2023
Admin
article
microsoft-365-business
medium
Tier2
scotvorg
highpri
M365-subscription-management
Adm_O365
Adm_O365_Setup
VSBFY23
AdminSurgePortfolio
AdminTemplateSet
admindeeplinkMAC
BCS160
MET150
MOE150
GEA150
77f90d4a-dc7f-4f09-8972-c1b03ea85a67
Gather the values/information you need to create DNS records to connect your domain to your Microsoft 365 subscription.

Gather the information you need to create DNS records

Check out all of our small business content on Small business help & learning.

Check the Domains FAQ if you don't find what you're looking for.

Step 1: Find the TXT record value and verify

::: moniker range="o365-worldwide"

  1. In the Microsoft 365 admin center, go to the Settings > Domains page.

::: moniker-end

::: moniker range="o365-21vianet"

  1. In the admin center, go to the Settings > Domains page.

::: moniker-end

  1. On the Domains page, select your domain, then select Continue setup. You'll go back to the domains setup wizard to see the specific value you need to add.

  2. On the Domain Verification page, select Add a TXT record to the domain's DNS records, then select Continue.

  3. Copy the TXT value shown. It looks like this: MS=msXXXXXXXX.

  4. Go to Add DNS records to connect your domain, and follow the steps to add records at your DNS host's website.

  5. Follow the steps for creating the TXT record (or MX record) at your DNS host, then verify the domain back in Microsoft 365.

  6. Remove the TXT record (or MX record) from your DNS host once the domain is verified in Microsoft 365.

Step 2: Find the MX record value for email and more

::: moniker range="o365-worldwide"

  1. In the Microsoft 365 admin center, go to the Settings > Domains page.

::: moniker-end

::: moniker range="o365-21vianet"

  1. In the admin center, go to the Settings > Domains page.

::: moniker-end

  1. On the Domains page, select your domain.

  2. Choose Manage DNS, select More Options > Add your own DNS and select Continue to see the DNS records to add.

    You'll want to keep this information available while you make changes at your DNS host, so you can copy and paste the values.

    The groups of DNS records that are listed on the page depend on your choices listed under Domain purpose.

  3. Go to Add DNS records to connect your domain, and follow the steps to add records at your DNS host's website.

  4. Follow the steps for creating the records at your DNS host.

Related content

Domains FAQ (article)
Find and fix issues after adding your domain or DNS records (article)
Manage domains (link page)