在 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) 記錄,以及自動用戶端登入所需的記錄。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 server 的 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. 按一下 [ 埠號碼],然後輸入 5061Click Port Number, and then type 5061.

  8. 按一下 [ 提供這項服務的主機],然後輸入集區或 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. 使用已驗證使用者群組的成員帳戶,或具有相等許可權的帳戶,登入網域中的用戶端電腦。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) record 顯示的輸出如下: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:

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

    priority = 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 address = <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.