Create a DNS Zone with the correct records for Office 365

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov Visualize

Solution overview and deployed resources

This template allows you to deploy a DNS Zone to Azure DNS with the appropriate records needed for Office 365. This template allows the user to choose what records to create, they are broken down by mail, mobile device management, and Skype for Business.

The following resources are deployed as part of the solution

DNS Zone

A DNS zone is created to host the records for Office 365. Various record-sets are created depending on the services you use and are listed below.

Exchange (mail)

  • MX Record: Routes email from your domain to Office 365
  • autodiscover CNAME record: Email (Exchange) Autodiscover CNAME record.
  • msoid CNAME record: Directs authenticated to the correct platform

Skype for Business (sfb)

  • lyncdiscover CNAME record: Skype for Business Online Autodiscover CNAME record.
  • sip CNAME record: Directs VOIP calls
  • SPF TXT record: Prevents spam
  • sipdir SRV record: Service record for SIP communications
  • sipfed SRV record: Service record for SIP communications

Mobile Device Management (mdm)

  • enterprise enrollment CNAME record: Eases enrollment process for mobile devices
  • enterprise registration CNAME record: Workplace join (device registration discovery)

Tags: Microsoft.Network/dnszones, Microsoft.Resources/deployments, Microsoft.Network/dnszones/CNAME, Microsoft.Network/dnszones/MX, Microsoft.Network/dnszones/TXT, Microsoft.Network/dnszones/SRV