Connect your DNS records at GoDaddy to Microsoft 365
Check the Domains FAQ if you don't find what you're looking for.
If GoDaddy is your DNS hosting provider, follow the steps in this article to verify your domain and set up DNS records for email, Teams, and so on.
Before you begin
You have two options for setting up DNS records for your domain:
Use Domain Connect If you haven't set up your domain with another email service provider, use the Domain Connect steps to automatically verify and set up your new domain to use with Microsoft 365.
OR
Use the manual steps Verify your domain using the manual steps below and choose when and which records to add to your domain registrar. This allows you to set up new MX (mail) records, for example, at your convenience.
Use Domain Connect to verify and set up your domain
Follow these steps to automatically verify and set up your GoDaddy domain with Microsoft 365:
In the Microsoft 365 admin center, select Settings > Domains, and select the domain you want to set up.
Select the three dots (more actions) > choose Start setup.
On the How do you want to connect your domain? page, select Continue.
On the Add DNS records page, select Add DNS records.
On the GoDaddy login page, sign in to your account, and select Authorize.
This completes your domain setup for Microsoft 365.
Create DNS records with manual setup
After you add these records at GoDaddy, your domain will be set up to work with Microsoft services.
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 Microsoft, 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 Microsoft 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 GoDaddy by using this link.
If you're prompted to log in, use your login credentials, select your login name in the upper right, and then select My Products.
Under Domains, select DNS next to the domain you want to verify.
Under DNS Records, select ADD on the top right corner.
Select TXT option from the filter box.
In the boxes for the new record, type or copy and paste the values from the table.
Type Name Value TTL TXT @ MS=ms XXXXXXXX
Note: This is an example. Use your specific Destination or Points to Address value here, from the table. How do I find this?1 hour Select Save.
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 Microsoft and request the record. When Microsoft finds the correct TXT record, your domain is verified.
To verify the record in Microsoft 365:
In the admin center, go to the Settings > Domains.
On the Domains page, select the domain that you're verifying, and select Start setup.
Select Continue.
On the Verify domain page, select Verify.
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 an MX record so email for your domain will come to Microsoft
To get started, go to your domains page at GoDaddy by using this link.
If you're prompted to log in, use your login credentials, select your login name in the upper right, and then select My Products.
Under Domains, select the DNS.
Under Records, select ADD.
Choose MX option from the filter box.
In the boxes for the new record, type or copy and paste the values from the following table.
(Choose the Type and TTL values from the drop-down list.)
Type Name Priority Value TTL MX @ 10
For more information about priority, see What is MX priority?<domain-key>.mail.protection.outlook.com
Note: Get your <domain-key> from your Microsoft account. How do I find this?1 hour Select Save.
Add the CNAME record required for Microsoft
To get started, go to your domains page at GoDaddy by using this link.
If you're prompted to log in, use your login credentials, select your login name in the upper right, and then select My Products.
Under Domains, select the three dots next to the domain you want to verify, and then select DNS.
Under Records, select ADD.
Choose CNAME from the drop-down list.
Create the CNAME record.
In the boxes for the new record, type or copy and paste the values from the first row of the following table.
(Choose the TTL value from the drop-down list.)
Type Name Value TTL CNAME autodiscover autodiscover.outlook.com 1 hour Select Save.
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 Microsoft. Instead, add the required Microsoft values to the current record so that you have a single SPF record that includes both sets of values.
To get started, go to your domains page at GoDaddy by using this link.
If you're prompted to log in, use your login credentials, select your login name in the upper right, and then select My Products.
Under Domains, select the three dots next to the domain you want to verify, and then select DNS.
Under Records, select ADD.
Choose TXT from the drop-down list.
In the boxes for the new record, type or copy and paste the following values.
(Choose the TTL value from the drop-down lists.)
Type Name Value TTL TXT @ v=spf1 include:secureserver.net -all
Note: We recommend copying and pasting this entry, so that all of the spacing stays correct.1 hour Select Save.
Advanced option: Microsoft Teams
Only select this option if your organization uses Microsoft Teams. Teams needs 4 records: 2 SRV records for user-to-user communication, and 2 CNAME records to sign-in and connect users to the service.
Add the two required SRV records
To get started, go to your domains page at GoDaddy by using this link.
If you're prompted to log in, use your login credentials, select your login name in the upper right, and then select My Products.
Under Domains, select the three dots next to the domain you want to verify, and then select DNS.
Under Records, select ADD.
Choose SRV 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.
(Choose the Type and TTL values from the drop-down lists.)
Type Service Protocol Name Value Priority Weight Port TTL SRV _sip _tls @ sipdir.online.lync.com 100 1 443 1 Hour SRV _sipfederationtls _tcp @ sipfed.online.lync.com 100 1 5061 1 Hour Select Save.
Add the other SRV record by choosing the values from the second row of the table.
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 the two required CNAME records for Microsoft Teams
To get started, go to your domains page at GoDaddy by using this link.
If you're prompted to log in, use your login credentials, select your login name in the upper right, and then select My Products.
Under Domains, select the three dots next to the domain you want to verify, and then select Manage DNS.
Under Records, select ADD.
Choose CNAME from the drop-down list.
In the empty boxes for the new records, type or copy and paste the values from the first row in the following table.
Type Name Value TTL CNAME sip sipdir.online.lync.com.
This value MUST end with a period (.)1 Hour CNAME lyncdiscover webdir.online.lync.com.
This value MUST end with a period (.)1 Hour Select Save.
Add the other CNAME record by choosing the values from the second row of the table.
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.
Advanced option: Intune and Mobile Device Management for Microsoft 365
This service helps you secure and remotely manage mobile devices that connect to your domain. Mobile Device Management needs 2 CNAME records so that users can enroll devices to the service.
Add the two required CNAME records Mobile Device Management
To get started, go to your domains page at GoDaddy by using this link.
If you're prompted to log in, use your login credentials, select your login name in the upper right, and then select My Products.
Under Domains, select the three dots next to the domain you want to verify, and then select DNS.
Under Records, select ADD.
Choose CNAME from the drop-down list.
In the empty boxes for the new records, type or copy and paste the values from the first row in the following table.
Type Name Value TTL CNAME enterpriseregistration enterpriseregistration.windows.net.
This value MUST end with a period (.)1 Hour CNAME enterpriseenrollment enterpriseenrollment-s.manage.microsoft.com.
This value MUST end with a period (.)1 Hour Select Save.
Add the other CNAME record by choosing the values from the second row of the table.
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.