netdiag
The
netdiag utility performs a variety of network
connectivity tests, including a DNS test. The netdiag
/test:DNS command iterates over each active network
adapter and checks whether the hostname has an A record in the domain
specified by the domain suffix for the adapter. If you receive an
error message for the DNS test, you should run
netdiag
/test:DNS
/debug
, which will produce verbose output and
help pinpoint the cause of the failure.
If you run netdiag
/test:DNS
on a domain controller and receive
errors, you can run it again with the /fix
option to force all the records in the
netlogon.dns file to be refreshed in DNS. See
Chapter 8 for more details on the
netlogon.dns file.
The netdiag utility is available in the Windows 2000 and Windows Server 2003 Support Tools.
Get DNS on Windows Server 2003, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.