Create DNS records at Oray for Office 365

If Oray 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 Oray, 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 Oray and sign in.

    Sign in to Oray

  2. In the right pane, in the 解析设置 (DNS record management) column for the domain that you want to update, click DNS解析设置 (DNS record management).

    The DNS records page for your domain opens.

    Click "DNS解析设置"

  3. In the 域名解析设置 (DNS record management) list, click the @ subdomain name.

    Click "@”

  4. Click the TXT记录 (TXT record) tab.

    Click "TXT记录"

  5. Make sure that the fields are set to precisely the following values for the empty 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

  6. Click 增加 (add).

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 Oray and sign in.

    Sign in to Oray

  2. In the right pane, in the 解析设置 (DNS record management) column for the domain that you want to update, click DNS解析设置 (DNS record management).

    The DNS records page for your domain opens.

    Click "DNS解析设置"

  3. In the 域名解析设置 (DNS record management) list, click the @ subdomain name.

    Click "@”

  4. Click the MX记录 (MX record) tab.

    Click "MX记录"

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

    • 邮件服务器 (mail server): 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): 0

    • TTL: 3600

    Add MX record

  6. Click 增加 (add).

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

    1. Click the MX记录 (MX record) tab.

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

Add CNAME records

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

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

      Sign in to Oray

    2. In the right pane, in the 解析设置 (DNS record management) column for the domain that you want to update, click DNS解析设置 (DNS record management).

      The DNS records page for your domain opens.

      Click "DNS解析设置"

    3. On the DNS records page for your domain, in the 无需带域名根 (subdomain name) box, type autodiscover, and then click 增加子域名 (add subdomain).

    4. Click the newly added subdomain name autodiscover.

      Add subdomain name

    5. Click the CNAME tab.

      Click "CNAME"

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

      • CName (别名): autodiscover.partner.outlook.cn

      • TTL: 3600

      Add CNAME record

    7. Click 保存 (save).

  2. Add the Lync Autodiscover CNAME record.

    1. On the DNS records page for your domain, in the 无需带域名根 (subdomain name) box, type lyncdiscover, and then click 增加子域名 (add subdomain).

    2. Click the newly added subdomain name lyncdiscover.

    3. Click the CNAME tab.

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

      • CName (别名): webdir.online.partner.lync.cn

      • TTL: 3600

    5. Click 保存 (save).

  3. Add the Lync SIP CNAME record.

    1. On the DNS records page for your domain, in the 无需带域名根 (subdomain name) box, type sip, and then click 增加子域名 (add subdomain).

    2. Click the newly added subdomain name sip.

    3. Click the CNAME tab.

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

      • CName (别名): sipdir.online.partner.lync.cn

      • TTL: 3600

    5. 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, in the 无需带域名根 (subdomain name) box, type msoid, and then click 增加子域名 (add subdomain).

    2. Click the newly added subdomain name msoid.

    3. Click the CNAME tab.

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

      • CName (别名): clientconfig.partner.microsoftonline-p.net.cn

      • TTL: 3600

    5. Click 保存 (save).

Add a TXT record to help with spam prevention

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

    Sign in to Oray

  2. In the right pane, in the 解析设置 (DNS record management) column for the domain that you want to update, click DNS解析设置 (DNS record management).

    The DNS records page for your domain opens.

    Click "DNS解析设置"

  3. In the 域名解析设置 (DNS record management) list, click the @ subdomain name.

    Click "@”

  4. Click the TXT记录 (TXT record) tab.

    Click "TXT记录"

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

    • 说明 (value): v=spf1 include:spf.protection.partner.outlook.cn -all

    • TTL: 3600

  6. Click 增加 (add).

    Add TXT record

Add SRV records

Note: Currently you can’t add the SRV records for Skype for Business Online due to the Oray website’s restrictions on subdomain character types. To add the SRV records, contact the Oray support team at 800@oray.com and ask them to create the SRV records for you according to the following information.

  1. Add the SIP SRV record for Lync federation.

    1. On the DNS records page for your domain, in the 无需带域名根 (subdomain name) box, type _sipfederationtls._tcp, and then click 增加子域名 (add subdomain).

      Add subdomain name

    2. Click the newly added subdomain name _sipfederationtls._tcp.

      Click "SRV记录"

    3. Click the SRV记录 (SRV record) tab.

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

      • 主机名 (host name): sipfed.online.partner.lync.cn

      • 优先 (priority): 100

      • 权重 (weight): 1

      • 端口 (port)): 5061

      • TTL: 3600

      Add SRV record

    5. Click 增加 (add).

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

    1. On the DNS records page for your domain, in the 无需带域名根 (subdomain name) box, type _sip._tls, and then click 增加子域名 (add subdomain).

    2. Click the newly added subdomain name _sip._tls.

    3. Click the SRV记录 (SRV record) tab.

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

      • 主机名 (host name): sipdir.online.partner.lync.cn

      • 优先 (priority): 100

      • 权重 (weight): 1

      • 端口 (port)): 443

      • TTL: 3600

    5. Click 增加 (add).

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!

×