在 Lync Server 2013 中创建和验证 DNS SRV 记录Create and verify DNS SRV records in Lync Server 2013

 

上次修改的主题: 2013-02-21Topic Last Modified: 2013-02-21

若要成功完成此过程,至少应以 Domain Admins 组或 DnsAdmins 组成员的身份登录到服务器或域。To successfully complete this procedure, you should be logged on to the server or domain minimally as a member of the Domain Admins group or a member of the DnsAdmins group.

本主题介绍如何在 Lync Server 2013 部署中配置域名系统 (DNS) 记录,以及自动客户端登录所需的 DNS 记录。This topic describes how to configure the Domain Name System (DNS) records that you are required to create in Lync Server 2013 deployments and those required for automatic client sign in. 创建前端池时,安装程序将为池创建 Active Directory 对象和设置,包括池完全限定的域名 (FQDN) 。When you create a Front End pool, Setup creates Active Directory objects and settings for the pool, including the pool fully qualified domain name (FQDN). 将为 Standard Edition server 创建类似的对象和设置。Similar objects and settings are created for a Standard Edition server. 若要使客户端能够连接到池或 Standard Edition 服务器,则必须在 DNS 中注册池或 Standard Edition 服务器的 FQDN。For clients to be able to connect to the pool or Standard Edition server, the FQDN of the pool or Standard Edition server must be registered in DNS. 必须在内部 DNS 中为每个 SIP 域创建 DNS SRV 记录。You must create DNS SRV records in your internal DNS for every SIP domain. 此过程假定内部 DNS 具有 SIP 用户域的区域。This procedure assumes that your internal DNS has zones for your SIP user domains.

配置 DNS SRV 记录To configure a DNS SRV record

  1. 在 DNS 服务器上,单击“开始”****,再单击“管理工具”****,然后单击“DNS”****。On the DNS server, click Start, click Administrative Tools, and then click DNS.

  2. 在您的 SIP 域的控制台树中,展开 " 正向查找区域",然后右键单击将在其中安装 Lync Server 2013 的 SIP 域。In the console tree for your SIP domain, expand Forward Lookup Zones, and then right-click the SIP domain in which Lync Server 2013 will be installed.

  3. 单击“其他新记录”****。Click Other New Records.

  4. 在“选择资源记录类型”**** 中,单击“服务位置(SRV)”****,然后单击“创建记录”****。In Select a resource record type, click Service Location (SRV), and then click Create Record.

  5. 单击 "服务",然后键入** _ sipinternaltls**。Click Service, and then type _sipinternaltls.

  6. 单击 "协议",然后键入** _ tcp**。Click Protocol, and then type _tcp.

  7. 单击“端口号”****,再键入“5061”****。Click Port Number, and then type 5061.

  8. 单击 " 主机提供此服务",然后键入 Pool 或 Standard Edition SERVER 的 FQDN。Click Host offering this service, and then type the FQDN of the pool or Standard Edition server.

  9. 单击“确定”****,然后单击“完成”****。Click OK, and then click Done.

验证 DNS SRV 记录的创建To verify the creation of a DNS SRV record

  1. 使用属于 Authenticated Users 组成员的帐户或具有等效权限的帐户登录到域中的客户端计算机。Log on to a client computer in the domain with an account that is a member of the Authenticated Users group or has equivalent permissions.

  2. 单击“开始”****,然后单击“运行”****。Click Start, and then click Run.

  3. 在“打开”**** 框中,键入 cmd,然后单击“确定”****。In the Open box, type cmd, and then click OK.

  4. 在命令提示符处键入 nslookup,然后按 Enter。At the command prompt, type nslookup, and then press ENTER.

  5. 键入 set type=srv,然后按 Enter。Type set type=srv, and then press ENTER.

  6. 键入** _ sipinternaltls。 _tcp.contoso.com**,然后按 enter。Type _sipinternaltls._tcp.contoso.com, and then press ENTER. 输出的传输层安全性 (TLS) 记录如下所示:The output displayed for the Transport Layer Security (TLS) record is as follows:

    服务器: <dns server> contoso.comServer: <dns server>.contoso.com

    处理 <IP address of DNS server>Address: <IP address of DNS server>

    Non-authoritative answer:Non-authoritative answer:

    _sipinternaltls。 _tcp.contoso.com SRV 服务位置:_sipinternaltls._tcp.contoso.com SRV service location:

    优先级 = 0priority = 0

    权重 = 0weight = 0

    端口 = 5061port = 5061

    svr hostname = poolname.contoso.com (或 Standard Edition server A record) svr hostname = poolname.contoso.com (or Standard Edition server A record)

    poolname.contoso.com internet 地址 = <virtual IP Address of the load balancer> 或 <IP address of a single Enterprise Edition server for pools with only one Enterprise Edition server> 或 <IP address of the Standard Edition server>poolname.contoso.com internet address = <virtual IP Address of the load balancer> or <IP address of a single Enterprise Edition server for pools with only one Enterprise Edition server> or <IP address of the Standard Edition server>

  7. 完成后,在命令提示符处键入 exit,然后按 Enter。When you are finished, at the command prompt, type exit, and then press ENTER.

验证是否可以解析前端池或 Standard Edition Server 的 FQDNTo verify that the FQDN of the Front End pool or Standard Edition server can be resolved

  1. 登录到域中的客户端计算机。Log on to a client computer in the domain.

  2. 单击“开始”****,然后单击“运行”****。Click Start, and then click Run.

  3. 在“打开”**** 框中,键入 cmd,然后单击“确定”****。In the Open box, type cmd, and then click OK.

  4. 在命令提示符处,键入 nslookup <FQDN of the Front End pool> 或 <FQDN of the Standard Edition server> ,然后按 enter。At the command prompt, type nslookup <FQDN of the Front End pool> or <FQDN of the Standard Edition server>, and then press ENTER.

  5. 验证是否收到一个解析为 FQDN 的相应 IP 地址的答复。Verify that you receive a reply that resolves to the appropriate IP address for the FQDN.