Should you verify your domain in Office 365 by using a TXT record or an MX record?

Before you use your domain with Office 365 operated by 21Vianet, we have to make sure that you own it. Your ability to sign in to your account at your DNS host and create the DNS record proves to Office 365 that you own the domain. Office 365 will look for the record, after you create it, and confirm that you're the domain owner.

Note: Are you just getting started? Learn more about setting up your domain and users in Office 365. If you're just looking for step-by-step instructions, we provide links to steps for creating MX records and other DNS records at many popular domain registrars.

The DNS record that you create can be a TXT record or a mail exchange record (MX record). Which one you create depends on your situation:

  • If your DNS host allows you to create TXT records, we recommend you use a TXT record for verification. TXT records are straightforward to create. In addition, they don’t introduce the possibility of interfering with email delivery if an incorrect value is accidentally entered.

  • If your DNS hosting provider doesn’t allow users to create their own TXT records, create an MX record for verification. If the steps we provide are carefully followed, your email delivery won’t be affected.

The record that you create doesn’t affect email or any other services. After Office 365 checks for the record and confirms that you own the domain, you can go ahead and delete the record if you like.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.