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
- In the Microsoft 365 admin center, go to the Settings > Domains page.
- In the admin center, go to the Settings > Domains page.
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.
On the Domain Verification page, select Add a TXT record to the domain's DNS records, then select Continue.
Copy the TXT value shown. It looks like this: MS=msXXXXXXXX.
Go to Add DNS records to connect your domain, and follow the steps to add records at your DNS host's website.
Follow the steps for creating the TXT record (or MX record) at your DNS host, then verify the domain back in Microsoft 365.
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
- In the Microsoft 365 admin center, go to the Settings > Domains page.
- In the admin center, go to the Settings > Domains page.
On the Domains page, select your domain.
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.
Go to Add DNS records to connect your domain, and follow the steps to add records at your DNS host's website.
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)