Create DNS records at Domainnameshop for Office 365

Check the Domains FAQ if you don't find what you're looking for.

If Domainnameshop is your DNS hosting provider, follow the steps in this article to verify your domain and set up DNS records for email, Skype for Business Online, and so on.

After you add these records at Domainnameshop, your domain will be set up to work with Office 365 services.

To learn about webhosting and DNS for websites with Office 365, see Use a public website with Office 365.

Note: 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: 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.

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

    Domainnameshop login_C3_2017626164856

  2. Choose My Domains.
     

    Domainnameshop Choose My Domains_C3_2017626164918

  3. Choose the domain that you want to edit.
     

    Domainnameshop Choose the domain_C3_2017626164944

  4. Choose the DNS records tab.
     

    Domainnameshop Choose DNS records_C3_2017626165010

  5. Choose Show advanced settings.
     

    Domainnameshop Choose Show advanced settings_C3_2017626165030

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

    Host name

    TTL

    RR Type

    Data

    (leave blank)

    1 hour

    TXT

    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?

    Domainnameshopt TXT record for verification_C3_201762793521

  7. Choose the + (Add) button.

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

When Office 365 finds the correct TXT record, your domain is verified.

  1. Go to the Domains page.

  2. On the Domains page, choose the domain that you are verifying.
     

    Domainnameshop Select domain in Office 365_C3_20176279656

  3. On the Setup page, choose Start setup.
     

    Domainnameshop Start Setup in Office 365_C3_20176279736

  4. On the Verify domain page, select Add a TXT record instead, and then choose Next.
     

    Domainnameshop Select Add TXT Instead in Office 365_C3_2017627999

  5. Choose Verify.
     

    Domainnameshop Verify in Office 365_C3_20176279953

Note: 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 Office 365

Follow the steps below.

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

    Domainnameshop login_C3_201762793725

  2. Choose My Domains.
     

    Domainnameshop My domains_C3_201762793743

  3. Choose the domain that you want to edit.
     

    Domainnameshop select domain_C3_20176279383

  4. Choose the DNS records tab.
     

    Domainnameshop DNS records tab_C3_201762793824

  5. Choose Show advanced settings.
     

    Domainnameshop Show advanced settings_C3_201762793841

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

    Host name

    TTL

    RR Type

    Parameters (Priority)

    Data (Target)

    (leave blank)

    1 hour

    MX (Mail Exchanger)

    10

    For more information about priority, see What is MX priority?

    <domain-key>.mail.protection.outlook.com

    Note: Get your <domain-key> from your Office 365 portal account.

    How do I find this?

    Domainnameshop MX record_C3_201762710552

  7. Choose the + (Add) button.
     

    Domainnameshop MX record Add button_C3_201762710631

  8. If there are any other MX records in the list, delete each one by choosing the trash-can icon next to it.

Add the CNAME records that are required for Office 365

Follow the steps below.

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

    Domainnameshop login_C3_201762710655

  2. Choose My Domains.
     

    Domainnameshop My domains_C3_201762710729

  3. Choose the domain that you want to edit.
     

    Domainnameshop select domain name_C3_201762710752

  4. Choose the DNS records tab.
     

    Domainnameshop DNS records tab_C3_201762710812

  5. Choose Show advanced settings.

    This link toggles between two modes: normal settings and advanced settings. If you see Show normal settings, you are already in the advanced settings mode.

    Domainnameshop Show advanced settings tab_C3_201762710837

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

    Host name

    TTL

    RR Type

    Data (Target)

    autodiscover

    1 hour

    CNAME

    autodiscover.outlook.com

    autodiscover

    1 hour

    CNAME

    sipdir.online.lync.com

    autodiscover

    1 hour

    CNAME

    webdir.online.lync.com

    msoid

    1 hour

    CNAME

    clientconfig.microsoftonline-p.net

    enterpriseregistration

    1 hour

    CNAME

    enterpriseregistration.windows.net

    enterpriseenrollment

    1 hour

    CNAME

    enterpriseenrollment.manage.microsoft.com

    Domainnameshop CNAME record_C3_201762711127

  7. Choose the + (Add) button.

  8. Repeat the previous steps to create the other five CNAME records.

    For each record, type or copy and paste the values from the next row of the table above into the boxes for that record.

Add a TXT record for SPF to help prevent email spam

Note: 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.

Follow the steps below.

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

    Domainnameshop login_C3_2017627111251

  2. Choose My domains.
     

    Domainnameshop My domains_C3_201762711137

  3. Choose the domain that you want to edit.
     

    Domainnameshop choose the domain_C3_2017627111326

  4. Choose the DNS records tab.
     

    Domainnameshop DNS records tab_C3_2017627111354

  5. Choose Show advanced settings.

    This link toggles between two modes: normal settings and advanced settings. If you see Show normal settings, you are already in the advanced settings mode.
     

    Domainnameshop Show advanced settings_C3_2017627111413

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

    Host name

    TTL

    RR Type

    Data (Target)

    (leave blank)

    1 hour

    TXT

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

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

    Domainnameshop TXT record for SPF_C3_2017627111559

  7. Choose the + (Add) button.

Add the two SRV records that are required for Office 365

Follow the steps below.

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

  1. Choose My Domains.
     

    Domainnameshop My Domains_C3_2017627111745

  2. Choose the domain that you want to edit.
     

    Domainnameshop select the domain_C3_201762711182

  3. Choose the DNS records tab.
     

    Domainnameshop DNS records tab_C3_2017627111818

  4. Choose Show advanced settings.

    This link toggles between two modes: normal settings and advanced settings. If you see Show normal settings, you are already in the advanced settings mode.
     

    Domainnameshop Show advanced settings_C3_2017627111835

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

    Host name

    TTL

    RR Type

    Parameters (Priority)

    Parameters (Weight)

    Parameters (Port)

    Data

    _sip._tls

    1 hour

    SRV (Service)

    100

    1

    443

    sipdir.online.lync.com

    _sipfederationtls._tcp

    1 hour

    SRV (Service)

    100

    1

    5061

    sipfed.online.lync.com

    Domainnameshop SRV record_C3_2017627112040

  6. Choose the + (Add) button.

  7. Repeat the previous steps to 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

Note: 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.
 

Expand your skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×