Thursday, September 28, 2017

Create DNS records at 1&1 Internet for Office 365

Create DNS records at 1&1 Internet for Office 365

Contributors: Peter Baumgartner

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

Caution: 

  • Note that 1&1 Internet doesn't allow a domain to have both an MX record and a top-level Autodiscover CNAME record. This limits the ways in which you can configure Exchange Online for Office 365. There is a workaround, but we recommend employing it only if you already have experience with creating subdomains at 1&1 Internet.

  • If despite this service limitation you choose to manage your own Office 365 DNS records at 1&1 Internet, follow the steps in this article to verify your domain and to set up DNS records for email, Skype for Business Online, and so on.

These are the main records to add. Follow the steps below or watch the video(Need more help? Get support.)

After you add these records at 1&1 Internet, 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.

Follow the steps below or watch the video (start at 0:42).

  1. To get started, go to your domains page at 1&1 Internet by using this link. You'll be prompted to login.

    1&1-BP-Configure-1-1

  2. Choose Manage domains.

    1&1-BP-Configure-1-2

  3. On the Domain Center page, find the domain that you want to update, and then choose the Panel (v) control for that domain.

    1&1-BP-Configure-1-3

  4. In the Domain Settings area, choose Edit DNS Settings.

    1&1-BP-Configure-1-4

  5. In the TXT and SRV Records section, choose Add Record.

    (You may have to scroll down.)

    1&1-BP-Configure-1-5

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

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

    Type

    Prefix

    Name Value

    TXT

    (Leave this field empty.)

    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?

    1&1-BP-Verify-1-1

  7. Choose Save.

    1&1-BP-Verify-1-2

  8. Choose Save.

    1&1-BP-Verify-1-3

  9. In the Edit DNS Settings dialog box, choose Yes.

    1&1-BP-Configure-3-16

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

    O365-BP-Verify-1-2

  3. On the Setup page, choose Start setup.

    O365-BP-Verify-1-3

  4. On the Verify domain page, choose Verify.

    O365-BP-Verify-1-4

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.

Back to top

Add an MX record so email for your domain will come to Office 365

Follow the steps below or watch the video (start at 3:22).

Note: If you've registered with 1und1.de, sign in here.

  1. To get started, go to your domains page at 1&1 Internet by using this link. You'll be prompted to login.

    1&1-BP-Configure-1-1

  2. Choose Manage domains.

    1&1-BP-Configure-1-2

  3. On the Domain Center page, find the domain that you want to update, and then choose the Panel (v) control for that domain.

    1&1-BP-Configure-1-3

  4. In the Domain Settings area, choose Edit DNS Settings.

    1&1-BP-Configure-1-4

  5. In the MX Records section, in the Mail Exchanger (MX Record) area, select Other mail server.

    (You may have to scroll down.)

    1&1-BP-Configure-2-1

  6. If there are any MX records already listed, delete each of them by selecting the record and then pressing the Delete key on your keyboard.

    (If there are no MX records already listed, continue to the next step.)

    1&1-BP-Configure-2-2

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

    MX 1

    Priority

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

    Note: Get your <domain-key> from your Office 365 portal account.
    How do I find this?

    10

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

    1&1-BP-Configure-2-3

  8. Choose Save.

    (You may have to scroll down.)

    1&1-BP-Configure-2-4

  9. In the Edit DNS Settings dialog box, choose Yes.

    1&1-BP-Configure-3-16

Back to top

Add the six CNAME records that are required for Office 365

1&1 Internet requires a workaround so that you can use an MX record together with the CNAME records that are required for Office 365 email services. This workaround requires you to create a set of subdomains at 1&1 Internet, and to assign them to CNAME records.

Important: Make sure that you have at least two available subdomains before starting this procedure. We recommend this solution only if you already have experience with creating subdomains at 1&1 Internet.

Back to top

Basic CNAME records

Follow the steps below or watch the video (start at 3:57).

Note: If you've registered with 1und1.de, sign in here.

  1. To get started, go to your domains page at 1&1 Internet by using this link. You'll be prompted to login.

    1&1-BP-Configure-1-1

  2. Choose Manage domains.

    1&1-BP-Configure-1-2

  3. On the Domain Center page, find the domain that you want to update and then choose Manage Subdomains.

    1&1-BP-Configure-3-0

    Now you'll create two subdomains and set an Alias value for each.

    (This is required because 1&1 Internet supports only one top-level CNAME record, but Office 365 requires several CNAME records.)

    First, you'll create the Autodiscover subdomain.

  4. In the Subdomain Overview section, choose Create Subdomain.

    1&1-BP-Configure-3-1

  5. In the Create Subdomain box for the new subdomain, type or copy and paste only the Create Subdomain value from the following table. (You'll add the Alias value in a later step.)

    Create Subdomain

    Alias

    autodiscover

    autodiscover.outlook.com

    1&1-BP-Configure-3-2

  6. Choose Create Subdomain.

    1&1-BP-Configure-3-3

  7. In the Subdomain Overview section, locate the autodiscover subdomain that you just created, and then choose the Panel (v) control for that subdomain.

    1&1-BP-Configure-3-4

  8. In the Subdomain Settings area, choose Edit DNS Settings.

    1&1-BP-Configure-3-5

  9. In the A/AAAA Records (IP Addresses) section, in the IP address (A Record) area, select CNAME.

    1&1-BP-Configure-3-6

  10. In the Alias: box, type or copy and paste only the Alias value from the following table.

    Create Subdomain

    Alias

    autodiscover

    autodiscover.outlook.com

    1&1-BP-Configure-3-7

  11. Select the check box for the I am aware disclaimer.

    1&1-BP-Configure-3-8-1

  12. Choose Save.

    1&1-BP-Configure-3-8-2

  13. In the Edit DNS Settings dialog box, choose Yes.

    1&1-BP-Configure-3-16

    Now you'll create the second subdomain.

  14. In the Subdomain Overview section, choose Create Subdomain.

    1&1-BP-Configure-3-9

  15. In the Create Subdomain box for the new subdomain, type or copy and paste only the Create Subdomain value from the following table. (You'll add the Alias value in a later step.)

    Create Subdomain

    Alias

    msoid

    clientconfig.microsoftonline-p.net

    1&1-BP-Configure-3-10

  16. Choose Create Subdomain.

    1&1-BP-Configure-3-11

  17. In the Subdomain Overview section, find the msoid subdomain that you just created, and then choose the Panel (v) control for that subdomain.

    1&1-BP-Configure-3-12

  18. In the Subdomain Settings area, choose Edit DNS Settings.

    1&1-BP-Configure-3-13

  19. In the A/AAAA Records (IP Addresses) section, in the IP address (A Record) area, select CNAME.

    1&1-BP-Configure-3-14-1

  20. In the Alias: box, type or copy and paste only the Alias value from the following table.

    Create Subdomain

    Alias

    msoid

    clientconfig.microsoftonline-p.net

    1&1-BP-Configure-3-14-2

  21. Select the check box for the I am aware disclaimer.

    1&1-BP-Configure-3-15-1

  22. Choose Save.

    1&1-BP-Configure-3-15-2

  23. In the Edit DNS Settings dialog box, choose Yes.

    1&1-BP-Configure-3-16

Additional CNAME records

The additional CNAME records created in the following procedure enable Skype for Business Online services. You will employ the same steps that you used to create the two CNAME records you have already created.

  1. Create the third subdomain (Lyncdiscover).

    On the Subdomain Overview section, choose Create Subdomain.

  2. In the Create Subdomain box for the new subdomain, type or copy and paste only the Create Subdomain value from the following table. (You'll add the Alias value in a later step.)

    Create Subdomain

    Alias

    lyncdiscover

    webdir.online.lync.com

  3. Choose Create Subdomain.

  4. On the Domain Center page, choose Manage Subdomains.

  5. In the Subdomain Overview section, find the lyncdiscover subdomain that you just created, and then choose the Panel (v) control for that subdomain.

    In the Subdomain Settings area, choose Edit DNS Settings.

  6. In the A/AAAA Records (IP Addresses) section, in the IP address (A Record) area, select CNAME.

  7. In the Alias: box, type or copy and paste only the Alias value from the following table.

    Create Subdomain

    Alias

    lyncdiscover

    webdir.online.lync.com

  8. Select the check box for the I am aware disclaimer, and then choose Save.

  9. In the Edit DNS Settings dialog box, choose Yes.

  10. Create the fourth subdomain (SIP):

    In the Subdomain Overview section, choose Create Subdomain.

  11. In the Create Subdomain box for the new subdomain, type or copy and paste only the Create Subdomain value from the following table. (You'll add the Alias value in a later step.)

    Create Subdomain

    Alias

    sip

    sipdir.online.lync.com

  12. Choose Create Subdomain.

  13. On the Domain Center page, choose Manage Subdomains.

  14. In the Subdomain Overview section, find the sip subdomain that you just created, and then choose the Panel (v) control for that subdomain.

    In the Subdomain Settings area, choose Edit DNS Settings.

  15. In the A/AAAA Records (IP Addresses) section, in the IP address (A Record) area, select CNAME.

  16. In the Alias: box, type or copy and paste only the Alias value from the following table.

    Create Subdomain

    Alias

    sip

    sipdir.online.lync.com

  17. Select the check box for the I am aware disclaimer, and then choose Save.

  18. In the Edit DNS Settings dialog box, choose Yes.

CNAME records needed for MDM

Important: Follow the procedure that you used for the other four CNAME records, but supply the values from the following table.

Create Subdomain

Alias

enterpriseregistration

enterpriseregistration.windows.net

enterpriseenrollment

enterpriseenrollment.manage.microsoft.com

Back to top

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 or watch the video (start at 5:09).

Note: If you've registered with 1und1.de, sign in here.

  1. To get started, go to your domains page at 1&1 Internet by using this link. You'll be prompted to login.

    1&1-BP-Configure-1-1

  2. Choose Manage domains.

    1&1-BP-Configure-1-2

  3. On the Domain Center page, find the domain that you want to update, and then choose the Panel (v) control for that domain.

    1&1-BP-Configure-1-3

  4. In the Domain Settings area, choose Edit DNS Settings.

    1&1-BP-Configure-1-4

  5. In the TXT and SRV Records section, choose Add Record.

    (You may have to scroll down.)

    1&1-BP-Configure-1-5

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

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

    Type

    Prefix

    Name Value

    TXT

    (Leave this field empty.)

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

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

    TXT record

  7. Choose Save.

    Add record

  8. Choose Save.

    Save record

  9. In the Edit DNS Settings dialog box, choose Yes.

    1&1-BP-Configure-3-16

Back to top

Add the two SRV records that are required for Office 365

Follow the steps below or watch the video (start at 5:51).

Note: If you've registered with 1und1.de, sign in here.

  1. To get started, go to your domains page at 1&1 Internet by using this link. You'll be prompted to login.

    1&1-BP-Configure-1-1

  2. Choose Manage domains.

    1&1-BP-Configure-1-2

  3. On the Domain Center page, find the domain that you want to update, and then choose the Panel (v) control for that domain.

    1&1-BP-Configure-1-3

  4. In the Domain Settings area, choose Edit DNS Settings.

    1&1-BP-Configure-1-4

  5. In the TXT and SRV Records section, choose Add Record.

    (You may have to scroll down.)

    1&1-BP-Configure-1-5

  6. Add the first of the two SRV records.

    In the Add Record area, in the boxes for the new record, type or copy and paste the values from the first row in the following table.

    (Select the Type and TTL values from the drop-down list.)

    Type

    Service

    Protocol

    Name

    Host

    Priority

    Weight

    Port

    TTL

    SRV

    sip

    tls

    (Leave this field empty.)

    sipdir.online.lync.com

    100

    1

    443

    3600 (1 h)

    SRV

    sipfederationtls

    tcp

    (Leave this field empty.)

    sipfed.online.lync.com

    100

    1

    5061

    3600 (1 h)

    1&1-BP-Configure-5-1

  7. Choose Save.

    1&1-BP-Configure-5-2

  8. Choose Save.

    1&1-BP-Configure-5-3

  9. In the Edit DNS Settings dialog box, choose Yes.

    1&1-BP-Configure-3-16

  10. Add the other SRV record.

    In the TXT and SRV Records section, choose Add Record.

    In the Add Record area, create a record using the values from the other row in the table, and then again choose Add, Save, and Yes to complete the 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.

Back to top

Still need help?

Get help from the Office 365 community forums Admins: Sign in and create a service request Admins: Call Support

Back to top

1 comment: