Adding Office 365 DNS Records in cPanel
Once you have the DNS settings required for your Office 365 account, you can then use the cPanel Zone Editor to add the necessary DNS entries:
- Log into cPanel.
- Go to Zone Editor.
- Add an MX record using the settings found in the previous section.
- Add 3 CNAME records:
CNAME Record 1 (select CNAME from the drop-down menu)
• Valid Zone Name: autodiscover
• Fully Qualified Domain Name: autodiscover.outlook.com
• TTL: 1 hour or 3600 seconds (this value is entered in the blank space next to the Valid Zone Name)
CNAME Record 2
• Valid Zone Name: lyncdiscover
• Fully Qualified Domain Name: webdir.online.lync.com
• TTL: 1 hour or 3600 seconds
CNAME Record 3
• Valid Zone Name: sip
• Fully Qualified Domain Name: sipdir.online.lync.com
• TTL: 1 hour or 3600 seconds - Add TXT record for SPF for spam protection:
• Host: @
• TXT Value: v=spf1 include:spf.protection.outlook.com -all
• TTL: 1 hour or 3600 seconds - Add two SRV records with the following values:
SRV Record 1
• Name: _sip._tls
• TTL: 3600
• Type: SRV
• Priority: 100
• Weight: 1
• Port: 443
• Target: sipdir.online.lync.com
SRV Record 2
• Name: _tcp._sipfederationtls
• TTL: 3600
• Type: SRV
• Priority: 100
• Weight: 1
• Port: 5061
• Target: sipfed.online.lync.com
Once you have added all of the necessary records it may take 4-24 hours for the changes to propagate through the rest of the global internet. After this time you should begin to receive email via your Office 365 account.