Gather the information you need to create DNS records

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

Step 1: Find the TXT record value and verify

  1. In the Microsoft 365 admin center, go to the Settings > Domains page.
  1. In the admin center, go to the Settings > Domains page.
  1. On the Domains page, select your domain, then select Start 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

  1. In the Microsoft 365 admin center, go to the Settings > Domains page.
  1. In the admin center, go to the Settings > Domains page.
  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.

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