Note: Typically it takes about 15 minutes for DNS changes to take effect. However, it can occasionally take longer for a change you've made to update across the Internet's DNS system. If you’re having trouble with mail flow or other issues after adding DNS records, see Troubleshoot issues after changing your domain name or DNS records.

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.

Note: Typically it takes about 15 minutes for DNS changes to take effect. However, it can occasionally take longer for a change you've made to update across the Internet's DNS system. If you’re having trouble with mail flow or other issues after adding DNS records, see Troubleshoot issues after changing your domain name or DNS records.

If there are any other MX records, delete them all in the MX (Mail Exchanger) section of the Domain Details page. (Select each record and then, in the Actions column, choose the trash-can Delete icon.)

Add the CNAME records that are required for Office 365

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

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

Choose DNS Zone File.

Choose Add Record.

Choose CNAME (Alias) from the drop-down list.

Create 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.

(Select the TTL value from the drop-down list.)

Record type

Host

Points to

TTL

CNAME (Alias)

autodiscover

autodiscover.outlook.com

1 hour

CNAME (Alias)

sip

sipdir.online.lync.com

1 hour

CNAME (Alias)

lyncdiscover

webdir.online.lync.com

1 hour

CNAME (Alias)

msoid

clientconfig.microsoftonline-p.net

1 hour

CNAME (Alias)

enterpriseregistration

enterpriseregistration.windows.net

1 hour

CNAME (Alias)

enterpriseenrollment

enterpriseenrollment.manage.microsoft.com

1 hour

Choose Add Another.

(You will not choose Finish until you have added all of the CNAME records that you need.)

Create the other five CNAME records.

For each record, type of copy and paste the values from the next row of the table above into the boxes for that record. After creating the second and third records, choose Add Another.

Repeat these steps until you have created all six of the CNAME records.

When you have added the final CNAME record, choose Finish.

Choose Save Changes.

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.

Add the two SRV records that are required for Office 365

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

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

Choose DNS Zone File.

Choose Add Record.

Choose SRV (Service) from the drop-down list.

Create the first SRV record.

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

(Select the Record type and TTL values from the drop-down lists.)

Record type

Name

Target

Protocol

Service

Priority

Weight

Port

TTL

SRV (Service)

@

sipdir.online.lync.com

_tls

_sip

100

1

443

1 hour

SRV (Service)

@

sipfed.online.lync.com

_tcp

_sipfederationtls

100

1

5061

1 hour

Choose Add Another.

(You will not choose Finish until you have added the other SRV record.)

Create the other SRV record.

Type or copy and paste the values from the second row of the table above into the boxes for the second record.

Choose Finish.

Choose Save Changes.

Note: Typically it takes about 15 minutes for DNS changes to take effect. However, it can occasionally take longer for a change you've made to update across the Internet's DNS system. If you’re having trouble with mail flow or other issues after adding DNS records, see Troubleshoot issues after changing your domain name or DNS records.