Configure Your Domain's DNS for Microsoft 365
To use Microsoft 365 services properly, you must configure your domain's DNS settings correctly. This process involves two main steps: domain verification and adding DNS records for Microsoft services.
Domain Verification
Domain verification proves to Microsoft that you own the domain. You can verify it by adding a TXT or MX record provided by the Microsoft 365 admin center to your domain DNS.
Example of a TXT record for verification:
MS=ms########
This unique value is generated by Microsoft and must be added to your domain's DNS settings.
Configure DNS Records for Microsoft Services
Once verified, you’ll need to add specific DNS records to enable services like Exchange Online, SharePoint Online, and Skype for Business.
Here’s an example of the main DNS records required for Exchange:
Service | Type | Host Name | Value | Priority | TTL |
---|---|---|---|---|---|
Microsoft Exchange | MX | @ | domain-ext.mail.protection.outlook.com | 0 | 3600 |
Microsoft Exchange | TXT | @ | v=spf1 include:spf.protection.outlook.com -all | - | 3600 |
Microsoft Exchange | CNAME | autodiscover | autodiscover.outlook.com | - | 3600 |
📌 Important
All records must be added in your domain registrar’s DNS panel. Changes may take several hours to propagate. You can check the status in the Microsoft 365 admin center.