文章编号: 265706 - 最后修改: 2007年10月26日 - 修订: 2.5 Windows 2000 中的 DCDiag 和 NetDiag 方便了域的加入和 DC 创建本页概要 本文介绍添加到 Windows 2000 中包括的域控制器诊断 (Dcdiag.exe) 工具和网络诊断 (Netdiag.exe) 工具中的功能。
有关 Windows 2000 的最新 Service Pack 的其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章: 260910?
(http://support.microsoft.com/kb/260910/EN-US/
)
How to Obtain the Latest Windows 2000 Service Pack
更多信息 已添加到 Dcdiag.exe 和 Netdiag.exe 中的功能可检查域名服务 (DNS) 基础结构是否能满足部署 Windows 2000 Active Directory 服务的需要。Windows 2000 中更新的 Dcdiag.exe 和 Netdiag.exe 工具提供了测试域名服务 (DNS) 基础结构的能力:
file name /h 或 file name /? 其中的 file name 是 dcdiag.exe 或 netdiag.exeDcdiag.exe 更新Active Directory 安装向导Active Directory 安装向导测试现有的 DNS 基础结构,确定是否能够提升为域控制器。如果基础结构能够满足要求,您可以把该计算机提升为在 Active Directory Domain DNS Name 中指定的一个域的域控制器。它还报告是否需要对现有 DNS 基础结构进行修改。必需的参数:/DnsDomain:<Active_Directory_Domain_DNS_Name> 需要以下参数之一:/NewForest /NewTree /ChildDomain /ReplicaDC 如果指定了 NewTree,则 ForestRoot 参数是必需的:/ForestRoot:<Forest_Root_Domain_DNS_Name> RegisterInDNSRegisterInDNS 测试此域控制器是否能注册“域控制器定位器 DNS”记录。这些记录在 DNS 中必须存在,以便其他计算机能够找到 Active Directory Domain DNS Name 域的这一域控制器。它还报告是否需要对现有 DNS 基础结构进行修改。必需的参数:DnsDomain:<Active_Directory_Domain_DNS_Name> Dcdiag.exe 更新 DsGetDcDsGetDc 是域控制器发现测试。在早期版本中已存在此命令,但是在此版本中向显示文本中添加了新功能,以帮助解决 DNS 配置问题。 以下示例为每一个新的测试和示例输出提供了命令行参数。 在新 Active Directory 林中创建第一个域控制器下面是一个 DNS 查询示例,此查询是为了定位对于此域控制器应注册的 DNS 记录具有权威性的 DNS 服务器和区域,在查询之后是一个“仅有先决条件”的请求,它要求执行动态更新以探测权威 DNS 服务器和区域处理动态更新的能力。dcdiag /test:dcpromo /dnsdomain:example.microsoft.com /newforest Starting test:DcPromo 此行下面记录的消息指示此域控制器是否能够动态注册由网络上其他设备定位此 DC 时所需的 DNS 记录。如果检测到有任何错误配置,它可能会阻止某些记录的动态 DNS 注册,但是不妨碍 Active Directory 安装向导的成功完成。不过,我们建议现在就解决报告的问题,除非您打算手动更新 DNS 数据库。 DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test DcPromo 将新的域目录树添加到现有 Active Directory 林中在下面的示例中发出一个 DNS 查询以查询林的根目录域中域控制器的 SRV 记录。然后又发出一个查询以查询每个域控制器的主机记录。DNS 查询是为了定位对于此域控制器应注册的 DNS 记录具有权威性的 DNS 服务器和区域,在查询之后是一个“仅有先决条件”的请求,它要求执行动态更新以探测权威 DNS 服务器和区域处理动态更新的能力。dcdiag /test:dcpromo /dnsdomain:test.example.microsoft.com /newtree /forestroot:example.microsoft.com Starting test:DcPromo The DNS configuration is sufficient to allow this computer to be promoted as the first DC in the test.example.microsoft.com Active Directory domain. 此行下面记录的消息指示此域控制器是否能够动态注册由网络上其他设备定位此 DC 时所需的 DNS 记录。如果检测到有任何错误配置,它可能会阻止某些记录的动态 DNS 注册,但是不妨碍 Active Directory 安装向导的成功完成。不过,我们建议现在就解决报告的问题,除非您打算手动更新 DNS 数据库。 DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS.......................... RANDYMC1 passed test DcPromo 将一个子域添加到现有 Active Directory 林中的一个目录树下在下面的示例中,发出的 DNS 查询用以查询承载提供的 DNS 域名的父 Active Directory 域的域控制器的 SRV 记录。接着又发出一个查询,查询返回的每个父域控制器的主机记录。DNS 查询是为了定位对于此域控制器应注册的 DNS 记录具有权威性的 DNS 服务器和区域,在查询之后是一个“仅有先决条件”的请求,它要求执行动态更新以探测权威 DNS 服务器和区域处理动态更新的能力。dcdiag /test:dcpromo /dnsdomain:test.example.microsoft.com /childdomain Starting test:DcPromo The DNS configuration is sufficient to allow this computer to be promoted as the first DC in the example.microsoft.com Active Directory domain. 此行下面记录的消息指示此域控制器是否能够动态注册由网络上其他设备定位此 DC 时所需的 DNS 记录。如果检测到有任何错误配置,它可能会阻止某些记录的动态 DNS 注册,但是不妨碍 Active Directory 安装向导的成功完成。不过,我们建议现在就解决报告的问题,除非您打算手动更新 DNS 数据库。 DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test DcPromo 向现有域中添加一个附加的域控制器在下面的示例中,发出的 DNS 查询用以查询 dnsdomain 中的 DC 的 SRV 记录。然后又发出一个查询以查询每个域控制器的主机记录。DNS 查询是为了定位对于此域控制器应注册的 DNS 记录具有权威性的 DNS 服务器和区域,在查询之后是一个“仅有先决条件”的请求,它要求执行动态更新以探测权威 DNS 服务器和区域处理动态更新的能力。dcdiag /test:dcpromo /dnsdomain:example.microsoft.com /replicadc Starting test:DcPromo The DNS configuration is sufficient to allow this computer to be promoted as a replica domain controller in the example.microsoft.com domain. 此行下面记录的消息指示此域控制器是否能够动态注册由网络上其他设备定位此 DC 时所需的 DNS 记录。如果检测到有任何错误配置,它可能会阻止某些记录的动态 DNS 注册,但是不妨碍 Active Directory 安装向导的成功完成。不过,我们建议现在就解决报告的问题,除非您打算手动更新 DNS 数据库。 DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test DcPromo 测试动态 DNS 注册 (DDNS)备注:以下过程在解决系统事件日志中的以下事件时非常有用:Netlogon 5774 - Registration of the DNS recordrecord name and DNS information failed. 下面是一个 DNS 查询示例,此查询是为了定位对于此域控制器应注册的 DNS 记录具有权威性的 DNS 服务器和区域,在查询之后是一个“仅有先决条件”的请求,它要求执行动态更新以探测权威 DNS 服务器和区域处理动态更新的能力。dcdiag /test:registerindns /dnsdomain:example.microsoft.com Starting test:RegisterInDNS DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test RegisterInDNS 使用 DSGetDC 测试检查到域控制器的连接性时出现的 Netdiag.exe 详细错误消息Netdiag.exe 中添加了一个附加错误消息。当您执行 DSGetDC 测试时,Netdiag 总是测试此计算机是其一个成员的域和您使用 /d 参数指定的域。如果其中有一个域通过了测试,则您将接收不到此错误消息。为确保您能收到此新的错误消息,请使用 /v (verbose) 或调试参数。如果 DSGetDC 测试没有与某个 DNS 服务器联系,您将收到以下错误消息: netdiag /test:dsgetdc /d:c.b.a.com /v or netdiag /test:dsgetdc /d:c.b.a.com /debug Find DC in domain 'c.b.a.com':Verify that the network connections on this computer are configured with the correct IP addresses of the DNS servers to be used for name resolution, and then run this tool again.[FATAL]Cannot find DC in domain 'c.b.a.com'.[ERROR_NO_SUCH_DOMAIN] netdiag /test:dsgetdc /d:c.b.a.com /v or netdiag /test:dsgetdc /d:c.b.a.com /debug Find DC in domain 'c.b.a.com': This computer cannot be joined to the [c.b.a.com] domain because of one of the following reasons: 1. The DNS SRV record for [c.b.a.com] is not registered in DNS; or 2. A zone from the following list of DNS zones does not include delegation to its child zone. Such zones can include [c.b.a.com, b.a.com, a.com, com], and root zone. Ask your network/DNS administrator to perform the following actions:To find out why the SRV record for [_ldap._tcp.dc._msdcs.c.b.a.com] is not registered in the DNS, run the dcdiag command prompt tool with the command RegisterInDNS on the domain controller that did not perform the registration. [FATAL]Cannot find DC in domain 'c.b.a.com'.[ERROR_NO_SUCH_DOMAIN] 解决常见配置问题的步骤如要为 DNS 客户机配置一个首选的和一个备用的 DNS 服务器,请:
Netdiag.exe收起这个图片 ![]() Dcdiag.exe收起这个图片 ![]() 119591?
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services Microsoft 已对此文件进行了病毒扫描。Microsoft 使用的是此文件发布时最新的病毒检测软件。此文件保存在安全服务器上,以防对它进行任何未经授权的更改。DCDiag 和 NetDiag 测试可以手动执行。如想了解执行这些测试的其他信息以及 Windows 2000 Active Directory 的 DNS 要求,请参见以下文档: DNS Requirements for the Successful Active Directory Deployment
(http://www.microsoft.com/technet/win2000/win2ksrv/dnsreq.asp)
这篇文章中的信息适用于:
Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的、衍生性的损害或任何因使用而丧失所导致的之损害、数据或利润不负任何责任。 | 文章翻译
|
回到顶端

