Create DNS records at DNSPod for Office 365

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

These are the main records to add.

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

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 your domains list at DNSPod and sign in.

    Sign in to DNSPod

  2. In the right pane, in the 全部域名 (all domains) section, click the name of the domain that you want to update.

    The DNS records page for your domain opens.

    Click the domain you want to update

  3. Click 添加记录 (add a DNS record).

    Click "添加记录"

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

    • 主机记录 (host): @

    • 记录类型 (record type): TXT

    • 线路类型 (network): Use the default value.

    • 记录值 (record value): Paste Destination or Points to Address value from the table in Office 365, for example MS=msXXXXXXX. How do I find this?

    • TTL: 3600

    Add TXT record

  5. Click 保存 (save).

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 MX record

  1. In your browser, go to your domains list at DNSPod and sign in.

    Sign in to DNSPod

  2. In the right pane, in the 全部域名 (all domains) section, click the name of the domain that you want to update.

    The DNS records page for your domain opens.

    Click the domain you want to update

  3. Click 添加记录 (add a DNS record).

    Click "添加记录"

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

    • 主机记录 (host): @

    • 记录类型 (record type): MX

    • 线路类型 (network): Use the default value.

    • 记录值 (record value): 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?

    • MX优先级 (MX priority): 1

    • TTL: 3600

    Add MX record

  5. Click 保存 (save).

  6. 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 that are required for Office 365

  1. In your browser, go to your domains list at DNSPod and sign in.

    Sign in to DNSPod

  2. In the right pane, in the 全部域名 (all domains) section, click the name of the domain that you want to update.

    The DNS records page for your domain opens.

    Click the domain you want to update

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

    1. On the DNS records page for your domain, click 添加记录 (add a DNS record).

      Click "添加记录"

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

      • 主机记录 (host): autodiscover

      • 记录类型 (record type): CNAME

      • 线路类型 (network): Use the default value.

      • 记录值 (record value): autodiscover.partner.outlook.cn

      • TTL: 3600

      Add CNAME record

    3. Click 保存 (save).

  4. Add the Lync Autodiscover CNAME record.

    1. On the DNS records page for your domain, click 添加记录 (add a DNS record).

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

      • 主机记录 (host): lyncdiscover

      • 记录类型 (record type): CNAME

      • 线路类型 (network): Use the default value.

      • 记录值 (record value): webdir.online.partner.lync.cn

      • TTL: 3600

    3. Click 保存 (save).

  5. Add the Lync SIP CNAME record.

    1. On the DNS records page for your domain, click 添加记录 (add a DNS record).

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

      • 主机记录 (host): sip

      • 记录类型 (record type): CNAME

      • 线路类型 (network): Use the default value.

      • 记录值 (record value): sipdir.online.partner.lync.cn

      • TTL: 3600

    3. Click 保存 (save).

    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, click 添加记录 (add a DNS record).

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

        • 主机记录 (host): msoid

        • 记录类型 (record type): CNAME

        • 线路类型 (network): Use the default value.

        • 记录值 (record value): clientconfig.partner.microsoftonline-p.net.cn

        • TTL: 3600

      3. Click 保存 (save).

Add a TXT record to help prevent spam

  1. In your browser, go to your domains list at DNSPod and sign in.

    Sign in to DNSPod

  2. In the right pane, in the 全部域名 (all domains) section, click the name of the domain that you want to update.

    The DNS records page for your domain opens.

    Click the domain you want to update

  3. Click 添加记录 (add a DNS record).

    Click "添加记录"

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

    • 主机记录 (host): @

    • 记录类型 (record type): TXT

    • 线路类型 (network): Use the default value.

    • 记录值 (record value): v=spf1 include:spf.protection.partner.outlook.cn -all

    • TTL: 3600

    Add TXT record

  5. Click 保存 (save).

Add SRV records

  1. In your browser, go to your domains list at DNSPod and sign in.

    Sign in to DNSPod

  2. In the right pane, in the 全部域名 (all domains) section, click the name of the domain that you want to update.

    The DNS records page for your domain opens.

    Click the domain you want to update

  3. Add the SIP SRV record for Lync federation.

    1. On the DNS records page for your domain, click 添加记录 (add a DNS record).

      Click "添加记录"

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

      • 主机记录 (host): _sipfederationtls._tcp

      • 记录类型 (record type): CNAME

      • 线路类型 (network): Use the default value.

      • 记录值 (record value): 100 1 5061 sipfed.online.partner.lync.cn

      • TTL: 3600

      Add SRV record

    3. Click 保存 (save).

  4. Add the SIP SRV record for Lync web conferencing.

    1. On the DNS records page for your domain, click 添加记录 (add a DNS record).

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

      • 主机记录 (host): _sip._tls

      • 记录类型 (record type): CNAME

      • 线路类型 (network): Use the default value.

      • 记录值 (record value): 100 1 443 sipdir.online.partner.lync.cn

      • TTL: 3600

    3. Click 保存 (save).

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!

×