本文解决了在 DNS 控制台上未加载 DNS 区域时记录事件 ID 4000 和 4007 的问题。
原始 KB 数: 2751452
现象
环境中的一个 DNS 服务器开始显示区域未加载到 DNS 主机上的问题。 事件 ID 4000 和 4007 记录在 DNS 事件日志中:
事件 ID 4000:
The DNS server was unable to open Active Directory. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.
事件 ID 4007:
The DNS server was unable to open zone \<zone> in the Active Directory from the application directory partition \<partition name>. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.
此外,当你尝试打开 DNS 控制台时,你会收到一个弹出窗口,从而拒绝 访问。
你注意到 DNS 服务器服务已启动并运行。
尝试使用 DNSCMD 对 AD 集成区域执行任何操作时,会收到 “拒绝 访问”错误消息。
原因
当特定 DC/DNS 服务器本身或 PDC 丢失其安全通道时,会发生此问题。
此问题也可以在单个 DC 环境中发生,其中 DC/DNS 服务器保存所有 FSMO 角色,并指向自己作为主 DNS 服务器。
解决方法
如果环境中存在其他域控制器/DNS 服务器,请将遇到问题的服务器配置为指向 TCP/IP 属性中的其他活动 DNS 服务器。
-
停止 DC 上的 KDC 服务遇到此问题。
-
使用提升的权限运行以下命令:
netdom resetpwd /server:<PDC.domain.com> /userd:<Domain\domain_admin> /passwordd:*系统将提示输入使用的域管理员帐户的密码。
-
执行命令后,重新启动服务器。
DNS 区域现在应加载。
如果它是环境中唯一的域控制器,并且没有其他可用的 DNS 服务器,请执行相同的步骤,但将其 PDC.Domain.com 替换为服务器自己的 IP 地址(因为它本身是 PDC)。