Caution: The MyDomain website doesn’t support SRV records, which means several Skype for Business Online and Outlook Web App features won’t work. No matter which Office 365 plan you use, if you manage your DNS records at MyDomain, there are significant service limitations, and you might want to switch to a different DNS hosting provider.

If you choose to manage your own Office 365 DNS records at MyDomain despite the service limitations, follow the steps in this article to set up your DNS records for email, Skype for Business Online, and so on.

Add a TXT record for verification

Before you use your domain with Office 365, we have to make sure that you own it. Your ability to log in to your account at your domain registrar and create the DNS record proves to Office 365 that you own the domain.

Note: This record is used only to verify that you own your domain; it doesn’t affect anything else. You can delete it later, if you like.

To get started, go to your domains page at MyDomain by using this link. You'll be prompted to log in first.

In the My Favorites section, choose Domain Central.

Under Domain, choose the name of the domain that you want to edit.

In the Overview row, choose DNS.

From the Modify drop-down list, choose TXT/SPF Record.

Under Content, in the box for the new record, type or copy and paste the value from the following table.

Content

MS=msXXXXXXXX

Note: This is an example. Use your specific Destination or Points to Address value here, from the table in Office 365.
How do I find this?

Choose Add.

Wait a few minutes before you continue, so that the record you just created can update across the Internet.

Now that you've added the record at your domain registrar's site, you'll go back to Office 365 and request Office 365 to look for the record.

If there are any other existing MX records, select Remove in the Action column for each one to delete it.

Choose OK.

Add the CNAME records that are required for Office 365

To get started, go to your domains page at MyDomain by using this link. You'll be prompted to log in first.

In the My Favorites section, choose Domain Central.

Under Domain, choose the name of the domain that you want to edit.

In the Overview row, choose DNS.

From the Modify drop-down list, choose CNAME Alias.

Add the first CNAME record.

In the boxes for the new record, type or copy and paste the values from the first row of the following table.

Host

Points To:

autodiscover

autodiscover.outlook.com

sip

sipdir.online.lync.com

lyncdiscover

webdir.online.lync.com

msoid

clientconfig.microsoftonline-p.net

enterpriseregistration

enterpriseregistration.windows.net

enterpriseenrollment

enterpriseenrollment.manage.microsoft.com

Choose Add to add the first record.

Add the second CNAME record.

Use the values from the second row of the table above, and then choose Add to add the second record.

Add the remaining records in the same way, using the values from the third, fourth, fifth, and sixth rows of the table.

Add a TXT record for SPF to help prevent email spam

Important: You cannot have more than one TXT record for SPF for a domain. If your domain has more than one SPF record, you'll get email errors, as well as delivery and spam classification issues. If you already have an SPF record for your domain, don't create a new one for Office 365. Instead, add the required Office 365 values to the current record so that you have a single SPF record that includes both sets of values. Need examples? Check out these details and sample SPF records. To validate your SPF record, you can use one of these SPF validation tools.

To get started, go to your domains page at MyDomain by using this link. You'll be prompted to log in first.

In the My Favorites section, choose Domain Central.

Under Domain, choose the name of the domain that you want to edit.

In the Overview row, choose DNS.

From the Modify drop-down list, choose TXT/SPF Record.

Under Content, in the box for the new record, type or copy and paste the value from the following table.

Content

v=spf1 include:spf.protection.outlook.com -all

Note: We recommend copying and pasting this entry, so that all of the spacing stays correct.

Choose Add.

Add the two SRV records that are required for Office 365

Caution: The MyDomain website doesn’t support SRV records, which means several Skype for Business Online and Outlook Web App features won’t work. No matter which Office 365 plan you use, if you manage your DNS records at MyDomain, there are significant service limitations, and you might want to switch to a different DNS hosting provider.