大网数据广告活动
域与目录服务

AD Forest Recovery - Configure DNS Server service

· 52CE 我爱测

Learn more about: AD Forest Recovery - Configuring the DNS Server service

If the DNS server role isn't installed on the DC that you restore from backup, you must install and configure the DNS server.

Install and configure the DNS Server service

Complete this step for each restored DC that isn't running as a DNS server after the restore is complete.

Note: 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. Then connect each of the restored DNS servers to a mutually shared, isolated network. Run repadmin /replsum to verify that replication is functioning between the restored DNS servers. 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. You should slipstream the hotfix into the operating system installation image during your automated build processes. For more information about the hotfix, see Article 975654 in the Microsoft Knowledge Base (https://go.microsoft.com/fwlink/?LinkId=184691).

Complete the installation and configuration steps below.

Install and the DNS Server service using Server Manager

  1. Open Server Manager and select Add roles and features.
  2. In the Add Roles Wizard, if the Before You Begin page appears, select Next.
  3. On the Installation type screen select Role-based or feature based installation and select Next.
  4. On the Server Selection screen select the server and select Next.
  5. On the Server Roles screen select DNS Server, if prompted select Add Features and select Next.
  6. On the Features screen select Next.
  7. Read the information on the DNS Server page, and then select Next. :::image type="content" source="media/dns1.png" alt-text="Screenshot that shows the DNS Server page.":::
  8. On the Confirmation page, verify that the DNS Server role will be installed, and then select Install.

Configure the DNS Server service

  1. Open Server Manager, select Tools and select DNS. :::image type="content" source="media/dns2.png" alt-text="Screenshot that shows the DNS object.":::
  2. Create DNS zones for the same DNS domain names that were hosted on the DNS servers before the critical malfunction. For more information, see Add a Forward Lookup Zone (https://go.microsoft.com/fwlink/?LinkId=74574).
  3. Configure the DNS data as it existed before the critical malfunction. For example:
  4. 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. For more information, see Create a Zone Delegation (https://go.microsoft.com/fwlink/?LinkId=74562).
  5. After you configure DNS, you can speed up registration of the NETLOGON Records.

    [!NOTE] Secure dynamic updates only work when a global catalog server is available. At the command prompt, type the following command, and then press ENTER: net stop netlogon

  6. Type the following command, and then press ENTER: net start netlogon :::image type="content" source="media/dns3.png" alt-text="DNS server":::

Next steps

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 05/12/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。