在 Heart Internet 处为 Office 365 创建 DNS 记录

撰稿人: Peter Baumgartner

如果找不到要查找的内容,请查看域常见问题解答

如果 Heart Internet 充当 DNS 托管提供程序,请按照本文步骤验证域并设置电子邮件和 Skype for Business Online 等的 DNS 记录。

下面是要添加的主要记录。(需要更多帮助?获取支持。)

在 Heart Internet 中添加上述记录后,你的域将设置为使用 Office 365 服务。

若要了解如何与 Office 365 结合使用网站的 Web 宿主和 DNS,请参阅配合使用公共网站与 Office 365

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

添加 TXT 记录进行验证

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.

注意:  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 at Heart Internet by using this link. You'll be prompted to log-in first.

    HeartInternet-BP-Configure-1-1

  2. On the Manage Domain Names page, in the drop-down list in the Manage Domain Parking section, select the name of the domain you're updating.

    HeartInternet-BP-Configure-1-2

  3. Choose Manage Now.

    HeartInternet-BP-Configure-1-3

  4. In the Manage Domain section, choose DNS Management.

    HeartInternet-BP-Configure-1-4
  5. In the TXT Records section, in the Text box for the new record, type or copy and paste the value from the following table.

    (You may have to scroll down.)

    Subdomain

    Text

    (Leave this field empty.)

    MS=msXXXXXXXX

    注意: 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?

    HeartInternet-BP-Verify-1-1

  6. Choose Update DNS.

    HeartInternet-BP-Verify-1-2

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

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

返回页首

添加一条 MX 记录,确保发往您的域的电子邮件发送到 Office 365

  1. To get started, go to your domains page at Heart Internet by using this link. You'll be prompted to log-in first.

    HeartInternet-BP-Configure-1-1

  2. On the Manage Domain Names page, in the drop-down list in the Manage Domain Parking section, select the name of the domain you're updating.

    HeartInternet-BP-Configure-1-2

  3. 选择“立即管理”。

    HeartInternet-BP-Configure-1-3

  4. In the Manage Domain section, choose DNS Management.

    HeartInternet-BP-Configure-1-4
  5. 在“MX 记录”部分的新记录框中,键入或复制粘贴下表中的值。

    (可能需要向下滚动。)

    子域

    邮件服务器

    优先级

    (将此字段留空。)

    <域密钥>.mail.protection.outlook.com。

    This value MUST end with a period (.)

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

    0

    有关优先级的详细信息,请参阅什么是 MX 优先级?

    HeartInternet-BP-Configure-2-1

  6. 选择“更新 DNS”。

    HeartInternet-BP-Configure-2-2

  7. 如果“MX 记录”部分存在任何其他 MX 记录,请在“删除”列选中每个记录进行删除,再重新选择“更新 DNS”。

    HeartInternet-BP-Configure-2-3

  8. 然后再次选择“更新 DNS”。

    HeartInternet-BP-Configure-2-4

返回页首

添加 Office 365 所需的 6 条 CNAME 记录

  1. To get started, go to your domains page at Heart Internet by using this link. You'll be prompted to log-in first.

    HeartInternet-BP-Configure-1-1

  2. On the Manage Domain Names page, in the drop-down list in the Manage Domain Parking section, select the name of the domain you're updating.

    HeartInternet-BP-Configure-1-2

  3. 选择“立即管理”。

    HeartInternet-BP-Configure-1-3

  4. In the Manage Domain section, choose DNS Management.

    HeartInternet-BP-Configure-1-4
  5. 添加前 2 条 CNAME 记录(共 6 条)。

    在“CNAME 记录”部分中两条新记录的框内,键入或复制粘贴下表中前两行的值。

    (可能需要向下滚动。)

    子域

    地址

    自动发现

    autodiscover.outlook.com.

    This value MUST end with a period (.)

    sip

    sipdir.online.lync.com.

    This value MUST end with a period (.)

    lyncdiscover

    webdir.online.lync.com.

    This value MUST end with a period (.)

    msoid

    clientconfig.microsoftonline-p.net.

    This value MUST end with a period (.)

    enterpriseregistration

    enterpriseregistration.windows.net.

    This value MUST end with a period (.)

    enterpriseenrollment

    enterpriseenrollment.manage.microsoft.com.

    This value MUST end with a period (.)

    HeartInternet-BP-Configure-3-1

  6. 选择“更新 DNS”。

    HeartInternet-BP-Configure-3-2

  7. 添加其他 4 条 CNAME 记录。

    在“新建 A/AAAA/CNAME”记录部分中,使用表中下两行的值创建记录,然后再次选择“更新 DNS”。

    重复该过程,直到创建完全部 6 条 CNAME 记录。

    HeartInternet-BP-Configure-3-4

返回页首

为 SPF 添加 TXT 记录以帮助防止垃圾邮件

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

  1. To get started, go to your domains page at Heart Internet by using this link. You'll be prompted to log-in first.

    HeartInternet-BP-Configure-1-1

  2. On the Manage Domain Names page, in the drop-down list in the Manage Domain Parking section, select the name of the domain you're updating.

    HeartInternet-BP-Configure-1-2

  3. 选择“立即管理”。

    HeartInternet-BP-Configure-1-3

  4. In the Manage Domain section, choose DNS Management.

    HeartInternet-BP-Configure-1-4
  5. 在“TXT 记录”部分中,在新记录的“文本”框中,键入或复制和粘贴以下表中的值。

    (可能需要向下滚动。)

    子域

    文本

    (将此字段留空。)

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

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

    HeartInternet-BP-Configure-4-1

  6. 选择“更新 DNS”。

    HeartInternet-BP-Configure-4-2

返回页首

添加 Office 365 所需的两条 SRV 记录

  1. To get started, go to your domains page at Heart Internet by using this link. You'll be prompted to log-in first.

    HeartInternet-BP-Configure-1-1

  2. On the Manage Domain Names page, in the drop-down list in the Manage Domain Parking section, select the name of the domain you're updating.

    HeartInternet-BP-Configure-1-2

  3. 选择“立即管理”。

    HeartInternet-BP-Configure-1-3

  4. In the Manage Domain section, choose DNS Management.

    HeartInternet-BP-Configure-1-4
  5. 在“SRV 记录”部分中新记录的框内,键入或复制粘贴下表中的值。

    (可能需要向下滚动。)

    (从下拉列表中选择“服务”和“协议”值。对于第二条记录的“服务”值,在下拉列表中选择“(自行输入)”,然后键入或复制粘贴值 _sipfederationtls

    服务

    协议

    服务器

    端口

    Pri

    Wei

    SIP

    TLS

    sipdir.online.lync.com.

    This value MUST end with a period (.)

    443

    100

    1

    _sipfederationtls

    TCP

    sipfed.online.lync.com.

    This value MUST end with a period (.)

    5061

    100

    1

    HeartInternet-BP-Configure-5-1

  6. 选择“更新 DNS”。

    HeartInternet-BP-Configure-5-2

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

返回页首

是否仍需要帮助?

从 Office 365 社区论坛获取帮助 管理员:登录并创建服务请求 管理员:呼叫支持

返回页首

扩展你的技能
了解培训
抢先获得新功能
加入 Office 预览体验计划

此信息是否有帮助?

谢谢您的反馈!

谢谢你的反馈! 可能需要转接到 Office 支持专员。

×