Create DNS records at Xinnet for Office 365

Caution: The Xinnet website doesn't support SRV records, which means that several Skype for Business Online and Outlook Web App features won’t work. No matter which Office 365 operated by 21Vianet plan you use, there are significant service limitations, and you may want to switch to a different DNS hosting provider.

If despite the service limitations, you choose to manage your own Office 365 DNS records at Xinnet, follow the steps in this article to verify your domain and set up DNS records for email, Lync, and so on. here’s how to set them up.

These are the main records to add.

After you add these records at Xinnet, your domain will be set up to work with Office 365 services, though not with the Lync Online and Outlook Web App features mentioned above.

If you have a SharePoint Online Public Website, you can set it up to use your custom domain for the website URL address, like www.your_domain.com.

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.

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. In your browser, go to the Xinnet website and sign in.

    Sign in to Xinnet

  2. In the upper-right corner, click 进入我的账户 (access my account).

    Click "进入我的账户”

  3. In the left navigation pane, click 我的产品 (my products).

    Click "域名管理"

  4. In the 常规管理 (general management) section, click 域名管理 (domain management).

  5. In the right pane, click the 我的域名 (my domains) tab.

    Click "我的域名"

  6. Select the check box next to the domain that you want to update.

    Click "mydns解析设置"

  7. Click mydns解析设置 (DNS settings).

    The DNS records page for your domain opens.

  8. In the 文本记录 (TXT) section, click 添加新的文本记录 (add a TXT record).

    Click "添加新的文本记录"

  9. Make sure that the fields are set to precisely the following values for the empty record:

    • 文本记录 (TXT): Leave the box blank.

    • 文本内容 (value): Paste Destination or Points to Address value from the table in Office 365, for example MS=msXXXXXXX. How do I find this?

    • TTL: Use the default value.

    Add TXT record

  10. Click 提交 (submit).

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 Manage domains page, select the domain that you are verifying and then, in the Action column for that domain, choose Start setup.

    O365-BP-Verify-1-2

  3. On the Add this TXT record to show you own domain_name page, choose Okay, I've added the record.

    O365-BP-Verify-1-3

  4. Choose Next.

    O365-BP-Verify-1-4

Add an MX record to route email

  1. In your browser, go to the Xinnet website and sign in.

    Sign in to Xinnet

  2. In the upper-right corner, click 进入我的账户 (access my account).

    Click "进入我的账户”

  3. In the left navigation pane, click 我的产品 (my products).

    Click "域名管理"

  4. In the 常规管理 (general management) section, click 域名管理 (domain management).

  5. In the right pane, click the 我的域名 (my domains) tab.

    Click "我的域名"

  6. Select the check box next to the domain that you want to update.

    Click "mydns解析设置"

  7. Click mydns解析设置 (DNS settings).

    The DNS records page for your domain opens.

  8. In the 邮件交换记录 (MX) section, click 添加新的邮件记录 (add an MX record).

    Click "添加新的邮件记录"

  9. Make sure that the fields are set to precisely the following values for the empty record:

    • 邮件交换记录 (MX): Leave the box blank.

    • 目标主机 (target): Paste the Points to address value from Office 365: <domain-key>.mail.protection.partner.outlook.cn

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

    • 优先级 (priority): 5

    • TTL: Use the default value.

    Add MX record

  10. Click 提交 (submit).

  11. If you have any MX records for this domain that send email to someplace other than Office 365, remove them:

    1. On the row of the obsolete record, click 删除 (remove).

    2. In the confirmation dialog box, click OK.

Add the CNAME records required for Office 365

  1. Add the email (Exchange) Autodiscover CNAME record.

    1. In your browser, go to the Xinnet website and sign in.

      Sign in to Xinnet

    2. In the upper-right corner, click 进入我的账户 (access my account).

      Click "进入我的账户”

    3. In the left navigation pane, click 我的产品 (my products).

      Click "域名管理"

    4. In the 常规管理 (general management) section, click 域名管理 (domain management).

    5. In the right pane, click the 我的域名 (my domains) tab.

      Click "我的域名"

    6. Select the check box next to the domain that you want to update.

      Click "mydns解析设置"

    7. Click mydns解析设置 (DNS settings).

      The DNS records page for your domain opens.

    8. On the DNS records page for your domain, in the 别名 (CNAME) section, click 添加新的别名 (add a CNAME record).

      Click "添加新的别名"

    9. Make sure that the fields are set to precisely the following values for the empty record:

      • 别名 (CNAME): autodiscover

      • 别名主机 (points to): autodiscover.partner.outlook.cn

      • TTL: Use the default value.

      Add CNAME record

    10. Click 提交 (submit).

  2. Add the Lync Autodiscover CNAME record.

    1. On the DNS records page for your domain, in the 别名 (CNAME) section, click 添加新的别名 (add a CNAME record).

    2. Make sure that the fields are set to precisely the following values for the empty record:

      • 别名 (CNAME): lyncdiscover

      • 别名主机 (points to): webdir.online.partner.lync.cn

      • TTL: Use the default value.

    3. Click 提交 (submit).

  3. Add the Lync SIP CNAME record.

    1. On the DNS records page for your domain, in the 别名 (CNAME) section, click 添加新的别名 (add a CNAME record).

    2. Make sure that the fields are set to precisely the following values for the empty record:

      • 别名 (CNAME): sip

      • 别名主机 (points to): sipdir.online.partner.lync.cn

      • TTL: Use the default value.

    3. Click 提交 (submit).

  4. Add the Office 365 MSOID CNAME record. This is an additional record that is required for Office 365.

    1. On the DNS records page for your domain, in the 别名 (CNAME) section, click 添加新的别名 (add a CNAME record).

    2. Make sure that the fields are set to precisely the following values for the empty record:

      • 别名 (CNAME): msoid

      • 别名主机 (points to): clientconfig.partner.microsoftonline-p.net.cn

      • TTL: Use the default value.

    3. Click 提交 (submit).

Add TXT record to help prevent spam

  1. In your browser, go to the Xinnet website and sign in.

    Sign in to Xinnet

  2. In the upper-right corner, click 进入我的账户 (access my account).

    Click "进入我的账户”

  3. In the left navigation pane, click 我的产品 (my products).

    Click "域名管理"

  4. In the 常规管理 (general management) section, click 域名管理 (domain management).

  5. In the right pane, click the 我的域名 (my domains) tab.

    Click "我的域名"

  6. Select the check box next to the domain that you want to update.

    Click "mydns解析设置"

  7. Click mydns解析设置 (DNS settings).

    The DNS records page for your domain opens.

  8. In the 文本记录 (TXT) section, click 添加新的文本记录 (add a TXT record).

    Click "添加新的文本记录"

  9. Make sure that the fields are set to precisely the following values for the empty record:

    • 文本记录 (TXT): Leave the box blank.

    • 文本内容 (value): v=spf1 include:spf.protection.partner.outlook.cn -all

    • TTL: Use the default value.

    Add TXT record

  10. Click 提交 (submit).

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×