Verify your domain by using a TXT record or an MX record?
Published: June 8, 2012
Updated: September 10, 2015
Applies To: Azure, Windows Intune
|Please bear with us as we migrate this and other content to the Microsoft Azure website. This topic is no longer being updated and might become out of date. Please bookmark the updated Azure article on this subject, Add your own domain name to Azure AD.|
To verify your domain in your Microsoft Azure AD tenant, you create a DNS record at your DNS hosting provider, and then Azure AD uses that record to confirm that you own the domain. The DNS record you create can be a TXT record or an MX record. Which should you choose?
If your DNS hosting provider allows you create TXT records, we recommend you use a TXT record for verification. Why? TXT records are straightforward to create and 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, go ahead and create an MX record for verification instead. If the provided steps are carefully followed, your email delivery won’t be affected.