Microsoft 365 DNS Records

  Print

Microsoft 365 DNS Records


If you purchase Microsoft 365 with us, you will need to add these records before emails will work correctly. If your DNS is managed with us, we can do this on your behalf as part of the setup process - otherwise you will need to contact your DNS provider. This guide is also relevant if you need to set up Microsoft 365 that you purchased elsewhere on our hosting.

List of records
Verification record
This record will be unique to your Microsoft 365 account. It will look similar to the following:

1b6cad83f676a30933471ce7f17e145d13b540a9?t=963f791d485a0cd7cd2fcb99a2674962


When you add the record, it will look like this:

4039ca97dbc322794d3f5732bf3235cb2220a7c0?t=c09f7bd46cd1484146b5bc8163493ba6




Exchange and Exchange Online Protection
These three records are required for Microsoft 365 emails to function.

Name TTL
Type
Record
autodiscover.yourdomain.net.au
3600
CNAME
autodiscover.outlook.com
yourdomain.net.au
3600
TXT
v=spf1 include:spf.protection.outlook.com -all
yourdomain.net.au
3600
MX
Priority = 0
yourdomain-net-au.mail.protection.outlook.com
Note: The record 'yourdomain-net-au.mail.protection.outlook.com' contains your domain, where each period is replaced by a hyphen. For "example.com", the associated record would be 'example-com.mail.protection.outlook.com'.



Microsoft Teams and Skype for Business (Optional)

Name
TTL
Type
Record
sip.yourdomain.net.au
3600
CNAME
sipdir.online.lync.com
lyncdiscover.yourdomain.net.au
3600
CNAME
webdir.online.lync.com

Name
TTL
Type
Priority
Weight
Port
Record
_sip._tls.yourdomain.net.au
3600
SRV
100
1
443
sipdir.online.lync.com
_sipfederationtls._tcp.yourdomain.net.au
3600
SRV
100
1
5061
sipfed.online.lync.com


Intune and Mobile Device Management for Microsoft 365 (Optional)

Name
TTL
Type
Record
enterpriseregistration.yourdomain.net.au
3600
CNAME
enterpriseregistration.windows.net
enterpriseenrollment.yourdomain.net.au
3600
CNAME
enterpriseenrollment.manage.microsoft.com






How to Add records in cPanel

Step 1 - Log into cPanel and click on the Zone Editor icon.

p01.png




Step 2 - Add the required DNS records using this guide. You may be asked if you would like to add other records - you can do so if you wish, but the below three are all that are needed for emails to function.

p02.png




Note: While you're adding these records, you may find that the Autodiscover record already exists. If so, follow Step 3 below. Otherwise, proceed to Step 4.

Step 3 - (Optional) (1) Search for 'autodiscover' then (2) click Edit.

p06.png



(1) Change the Type to CNAME, (2) set the Record to autodiscover.outlook.com then (3) click Save Record.

p08.png




Step 4 - (1) Click on the MX icon, then (2) delete any MX records other than the Outlook one you added.

24a.png




Step 5 - Click on the Home Button in the top left.

p11.png




Step 6 - Click on the Authentication or Email Deliverability icon (This depends on the cPanel version, as seen here).

p10.png



Step 7 - Make sure that SPF is Enabled:

p011a.png



Find the Include section and click on Add.

p12.png



Type in spf.protection.outlook.com and click OK.

p12b.png




Step 8 - Click on the Home icon in the top left.

p11.png




Step 9 - Click on the Email Routing icon.

p20.png




Step 10 - (1) Select the domain (2) Click Remote Mail Exchanger then (3) click Change.

p14a.png




For more information and tutorials on Microsoft 365, see our Getting Started guide.


Thank you for your feedback on this article.

Related Articles

© Crucial