text
stringlengths
0
4.23k
Checks that all application directory partitions are fully instantiated on all replica servers.
/RecreateMachineAccount
/FixMachineAccount
/objectdn:dn
/n:nc
/testdomain
/nositerestriction
Note
Connectivity checks on domain controllers that are registered on the network and connect with other resources like DNS, LDAP, and RPC cannot be skipped.
DNS test syntax
dcdiag /test:DNS [/DnsBasic | /DnsForwarders | /DnsDelegation | /DnsDynamicUpdate | /DnsRecordRegistration | /DnsResolveExtName [/DnsInternetName:<InternetName>] | /DnsAll] [/f:<LogFile>] [/x:<XMLLog.xml>] [/xsl:<XSLFile.xsl> or <XSLTFile.xslt>] [/s:<DomainController>] [/e] [/v]
dcdiag /test:DNS [/DnsBasic | /DnsForwarders | /DnsDelegation | /DnsDynamicUpdate | /DnsRecordRegistration | /DnsResolveExtName [/DnsInternetName:<InternetName>] | /DnsAll] [/f:<LogFile>] [/x:<XMLLog.xml>] [/xsl:<XSLFile.xsl> or <XSLTFile.xslt>] [/s:<DomainController>] [/e] [/v]
DNS test uses the following parameters:
Parameter
Description
/test:DNS
Performs the specified DNS test. If no test is specified, defaults to /DnsAll.
/DnsBasic
Performs basic DNS tests, including network connectivity, DNS client configuration, service availability, and zone existence.
/DnsForwarders
Performs the /DnsBasic tests and also checks the configuration of forwarders.
/DnsDelegation
Performs the /DnsBasic tests and also checks for proper delegations.
/DnsDynamicUpdate
Performs /DnsBasic tests and also determines if dynamic update is enabled in the Active Directory zone.
/DnsRecordRegistration
Performs the /DnsBasic tests, and also checks if the address (A), canonical name (CNAME) and well-known service (SRV) resource records are registered. In addition, creates an inventory report based on the test results.
/DnsResolveExtName [/DnsInternetName:\<InternetName>]
Performs the /DnsBasic tests, and also attempts to resolve InternetName. If /DnsInternetName isn't specified, attempts to resolve the name www.microsoft.com. If /DnsInternetName is specified, attempts to resolve the Internet name supplied by the user.
/DnsAll
Performs all tests, except for the /DnsResolveExtName test, and generates a report.
/f:<LogFile>
Redirects all output to a log file.
/s:<DomainController>
Runs the tests against the domain controller. If this parameter isn't specified, the tests are run against the local domain controller.
/e
Runs all tests specified by /test:DNS against all domain controllers in the Active Directory forest.
/v
Verbose. Presents extended information about successful test results in addition to information about errors and warnings.When the /v parameter isn't used, provides only error and warning information. Use the /v switch when errors or warnings are reported in the summary table.
/x:<XMLLog.xml>
Redirects all output to xmllog.xml. This parameter works only with the /test:DNS option.
/xsl:<XSLFile.xsl> or /xsl:<XSLTFile.xslt>
Adds the processing instructions that reference the specified sheet. This parameter only works with the /test:DNS /x:<XMLLog.xml option.
/DnsAll
/DnsBasic
/DnsBasic
/DnsBasic
/DnsBasic
<InternetName>
/DnsBasic
/DnsInternetName
/DnsInternetName
/DnsResolveExtName
<LogFile>
<DomainController>
/test:DNS
/v
/v
<XMLLog.xml>
/test:DNS
<XSLFile.xsl>
<XSLTFile.xslt>
/test:DNS /x:<XMLLog.xml
Note
Run times for DNS tests can be significant in large enterprises when the /e parameter is used. Domain controllers and DNS servers that are offline will increase run times due to long time-out periods for RPC and other protocols.
/e
Examples
Connectivity test