Tip To Check Network and DNS Settings Before Deploying A DC or Domain

by [Published on 19 March 2009 / Last Updated on 28 Nov. 2008]

This article explains a small tip or syntax of a command you can use to check the network and DNS settings before deploying a child domain or additional domain controller in an existing forest.

This article explains a small tip or syntax of a command you can use to check the network and DNS settings before deploying a child domain or additional domain controller in an existing forest.

The command you use to verify the settings is:

To deploy an additional domain controller:

  • Dcdiag /test:dcpromo /DnsDomain:domain_name.com /ReplicaDC

To deploy a child domain:

  • Dcdiag /test:dcpromo /DnsDomain:child_domain_name.forest.com /ChildDomain

child_domain_name.forest.com is the name of your child domain+the forest root domain. For example, Example.Microsoft.com. Example is the child domain.

When you run the above command look for the message: "Active Directory Test Installation Was Successful"

if you don't see the above message then there is something wrong with the network or DNS settings.

 

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP and was awarded the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links