廣告樹系修復-設定 DNS 伺服器服務AD Forest Recovery - Configuring the DNS Server service

適用於: Windows Server 2016、 Windows Server 2012 和 2012 R2、 Windows Server 2008 和 2008 R2Applies To: Windows Server 2016, Windows Server 2012 and 2012 R2, Windows Server 2008 and 2008 R2

如果未安裝在您從備份還原網域控制站的 DNS 伺服器角色,您必須安裝和設定的 DNS 伺服器。If the DNS server role is not installed on the DC that you restore from backup, you must install and configure the DNS server.

安裝和設定的 DNS 伺服器服務Install and configure the DNS Server service

針對每個不是執行為 DNS 伺服器還原完成後還原網域控制站完成這個步驟。Complete this step for each restored DC that is not running as a DNS server after the restore is complete.

注意

如果您已從備份還原俠執行的 Windows Server 2008 R2,您必須連接隔離網路 DC 以安裝 DNS 伺服器。If the DC that you restored from backup is running Windows Server 2008 R2, you must connect the DC to an isolated network in order to install DNS server. 然後將每個還原 DNS 伺服器連接到互相共用、隔離的網路。Then connect each of the restored DNS servers to a mutually shared, isolated network. 執行 repadmin /replsum 驗證複寫運作之間還原的 DNS 伺服器。Run repadmin /replsum to verify that replication is functioning between the restored DNS servers. 您確認複寫之後,您可以還原網域控制站連接到 production 網路如果已安裝的 DNS 伺服器角色,您可以將 DNS 伺服器開始伺服器未連接到任何網路時,可讓 hotfix 套用。After you verify replication, you can connect the restored DCs to the production network If the DNS server role is already installed, you can apply a hotfix that makes it possible for a DNS server to start while the server is not connected to any network. 在您的自動化的建置程序期間,您應該在作業系統安裝映像增加 hotfix。You should slipstream the hotfix into the operating system installation image during your automated build processes. 如需 hotfix 的詳細資訊,請查看文章 975654中「Microsoft 知識庫 (http://go.microsoft.com/fwlink/?LinkId=184691)。For more information about the hotfix, see Article 975654 in the Microsoft Knowledge Base (http://go.microsoft.com/fwlink/?LinkId=184691).

完成安裝和設定步驟。Complete the installation and configuration steps below.

安裝和使用伺服器管理員 DNS 伺服器服務To install and the DNS Server service using Server Manager

  1. 打開伺服器管理員中,按一下 [新增角色與功能Open Server Manager and click Add roles and features.
  2. 在 [新增角色精靈,如果在您開始之前,請先頁面上,按一下下一步In the Add Roles Wizard, if the Before You Begin page appears, click Next.
  3. 安裝類型畫面選取以角色為基礎的功能或安裝,按一下 [下一步On the Installation type screen select Role-based or feature based installation and click Next.
  4. 選擇伺服器選取伺服器] 畫面,然後按一下 [On the Server Selection screen select the server and click Next.
  5. 伺服器角色畫面選取DNS 伺服器如果系統提示按一下,新增功能按一下下一步On the Server Roles screen select DNS Server, if prompted click Add Features and click Next.
  6. 功能畫面上按一下On the Features screen click Next.
  7. 在朗讀資訊的 DNS 伺服器頁面,然後按一下 [Read the information on the DNS Server page, and then click Next. DNS 伺服器
  8. 確認頁面上,確認 DNS 伺服器角色將會安裝,然後按安裝On the Confirmation page, verify that the DNS Server role will be installed, and then click Install.

若要設定的 DNS 伺服器服務To configure the DNS Server service

  1. 打開伺服器管理員中,按一下工具,按一下 [ DNSOpen Server Manager, click Tools and click DNS. DNS 伺服器
  2. 重要故障之前的 DNS 伺服器建立已裝載的相同 DNS 網域名稱 DNS 區域。Create DNS zones for the same DNS domain names that were hosted on the DNS servers before the critical malfunction. 如需詳細資訊,查看 [新增正向對應區域 (http://go.microsoft.com/fwlink/?LinkId=74574)。For more information, see Add a Forward Lookup Zone (http://go.microsoft.com/fwlink/?LinkId=74574).
  3. 設定存在之前重要故障 DNS 資料。Configure the DNS data as it existed before the critical malfunction. 例如:For example:

  4. 確定家長 DNS 區域包含委派資源記錄 (伺服器 (奈秒) 和名稱黏附主機的資源 (A) 記錄) 子女區此 DNS 伺服器上。Ensure that the parent DNS zone contains delegation resource records (name server (NS) and glue host (A) resource records) for the child zone that is hosted on this DNS server. 如需詳細資訊,請建立區域委派 (http://go.microsoft.com/fwlink/?LinkId=74562)。For more information, see Create a Zone Delegation (http://go.microsoft.com/fwlink/?LinkId=74562).

  5. 設定 DNS 之後,您可以加速的 NETLOGON 記錄登記。After you configure DNS, you can speed up registration of the NETLOGON Records.

    注意

    安全的動態更新只工作時使用通用伺服器。Secure dynamic updates only work when a global catalog server is available.

    在命令提示字元中,輸入下列命令,,然後按 ENTER 鍵:At the command prompt, type the following command, and then press ENTER:

    網路停止 netlogonnet stop netlogon

  6. 輸入下列命令,並按一下 ENTER:Type the following command, and then press ENTER:

    網路的 [開始] 畫面 netlogonnet start netlogon

DNS 伺服器

後續步驟Next Steps