Create DNS records at Netregistry for Office 365

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

If Netregistry 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.

These are the main records to add.

After you add these records at Netregistry, 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: 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.

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

    Netregistry_login_C3_2017818103744

  2. Next to the domain you want to manage, select Manage.

    Netregistry_Manage_C3_2017818113230

  3. Select Zone Manager.

    Netregistry_selectZoneManager_C3_2017818103847

  4. Under  Add a zone record, choose TXT Record from the list, and then select Create new record.

    Netregistry_TXT_select_C3_2017818103922

  5. NO TE: You must use quotation marks before and after the entry in the TXT box.
       

    In the New TXT Record form, type or copy and paste the values from the following table.

    Name

    TTL (SEC)

    TXT (Points to address or value)

    (leave blank)

    3600 (seconds)

    "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?

    Netregistry_verificationTXTvalues_C3_2017818104424

  6. Choose Add record.

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.

    O365_Netregistry_selectDomainborder_C3_2017818163513
     

  3. On the Setup page, choose Start setup.

    O365_Netregistry_startSetupborder_C3_2017818163735
     

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

    Office 365 Add a TXT record instead_C3_2017526172713

  5. Choose Next, and then choose Verify.

    OVH Verify your domain in Office 365_C3_201769202357

    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 Netregistry by using this link. You'll be prompted to log in.

    Netregistry_login_C3_201781810459

  2. Next to the domain you want to manage, select Manage.

    Netregistry_Manage_C3_2017818113318

  3. Select Zone Manager.

    Netregistry_selectZoneManager_C3_201781810464

  4. Under Current zone records, remove the default MX records by selecting Remove next to each MX record in the list.

    Netregistry_MX_remove_C3_2017818104636

  5. Under Add a zone record, choose MX Record from the list, and then select Create new record.

    Netregistry_MX_select_C3_2017818104710

  6.  

    In the New MX Record form, type or copy and paste the values from the following table.

    Name

    TTL (SEC)

    Exchange (Points to address or value)

    Is host fully qualified?

    Preference (Priority)

    (leave blank)

    3600 (seconds)

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

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

    How do I find this?

    (select the checkbox)

    10

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

    Netregistry_MX_values_C3_2017818104736

  7. Choose Add Record.

    Netregistry_MX_values_AddRecord_C3_2017818104759

Add the CNAME records that are required for Office 365

Follow the steps below.

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

    Netregistry_login_C3_201781810499

  2. Next to the domain you want to manage, select Manage.

    Netregistry_Manage_C3_2017818113353

  3. Select Zone Manager.

    Netregistry_selectZoneManager_C3_2017818105243

  4. Under  Add a zone record, choose CNAME Record from the list, and then select Create new record.

    Netregistry_CNAME_CreateNewRecord_C3_201781810533

  5.  

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

    Name

    Type

    TTL

    HOST (Points to or address value)

    autodiscover

    CNAME

    3600 (seconds)

    autodiscover.outlook.com

    sip

    CNAME

    3600 (seconds)

    sipdir.online.lync.com

    lyncdiscover

    CNAME

    3600 (seconds)

    webdir.online.lync.com

    msoid

    CNAME

    3600 (seconds)

    clientconfig.microsoftonline-p.net

    enterpriseregistration

    CNAME

    3600 (seconds)

    enterpriseregistration.windows.net

    enterpriseenrollment

    CNAME

    3600 (seconds)

    enterpriseenrollment.manage.microsoft.com

    Netregistry_CNAME_values_C3_2017818105335

  6. Choose Add record.

    Netregistry_CNAME_values_AddRecord_C3_2017818105851

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

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 Netregistry by using this link. You'll be prompted to log in.

    Netregistry_login_C3_2017818105928

  2. Next to the domain you want to manage, select Manage.

    Netregistry_Manage_C3_2017818113426

  3. Select Zone Manager.

    Netregistry_selectZoneManager_C3_20178181118

  4. Under Add a zone record, choose TXT Record from the list, and then select Create new record.

    Netregistry_TXT_select_C3_201781817234

  5.  

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

    NOTE: You must use quotation marks before and after the entry in the TXT box.

    Name

    Type

    TTL

    TXT Data (Target)

    (leave blank)

    TXT

    3600 (seconds)

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

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

    Netregistry_SPF-TXTvalues_C3_201781811252

  6. Choose Add Record.

    Netregistry_SPF-TXTvalues_AddRecord_C3_201781811131

Add the two SRV records that are required for Office 365

Follow the steps below.

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

    Netregistry_login_C3_2017818111336

  2. Next to the domain you want to manage, select  Manage.

    Netregistry_Manage_C3_2017818113458

  3. Select Zone Manager.

    Netregistry_selectZoneManager_C3_201781811159

  4. Under  Add a zone record, choose SRV Record from the list, and then select Create new record.

    Netregistry_SRV_select_C3_2017818111752

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

    Note: The Name field is a combination of the service (for example, _sip) and protocol (for example, _tls).

    Type

    Name

    TTL (SEC)

    Priority

    Weight

    Port

    Target

    SRV (service)

    _sip._tls

    3600 (seconds)

    100

    1

    443

    sipdir.online.lync.com

    SRV (service)

    _sipfederationtls._tcp

    3600 (seconds)

    100

    1

    5061

    sipfed.online.lync.com

    Netregistry_SRV_values_C3_2017818111711

  6. Choose Add Record.

    Netregistry_SRV_values_AddRecord_C3_2017818112322

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

×