HomeWindowsWindows networkingWindows Server 2003: How to Remove All DNS Records for a Domain...

Windows Server 2003: How to Remove All DNS Records for a Domain Controller

Each DC registers a number of DNS records that clients and other services use to “find” the DC and its services (e.g., LDAP, Kerberos, and Global Catalog).


These records are listed in each DC’s local netlogon.dns file in the %systemroot%\system32\config folder. If you want to remove the records for a DC, you can use the Nltest tool, which is part of the Windows Server 2003 support tools, to remove all records relating to the specified DC.

Use the Nltest tool with this syntax: nltest /dsderegdns:

For example, to remove all records for miscdc02.miscx.com, you would use this command:

C:\>nltest /dsderegdns:miscdc02.miscx.com

Be aware that there is no confirmation dialog box, so use the command with care.

Rob Rogers
Rob Rogers
Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!