Windows Server 2003: How to remove all DNS records for a domain controller

Home -> Windows -> Network administration

11787 views

From the computer of: shamanstears (705 recipes)
Created: Aug 02, 2006     Updated: Aug 03, 2006


Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

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's no confirmation dialog box, so use the command with care.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  How to force a Windows 2K3 domain controller to reregister its DNS records
  Install a Windows 2003 DNS server
  How To Remove the Administrative Shares in Windows XP
  XP/2k/2003: Install/Setup Windows TFTP server
  Windows Server 2003: Kill Shutdown Tracker
  Windows Server 2003: Running ASP.NET (and ASP)
  XP Pro / Windows Server 2003: Remotely Enable Remote Desktop (RDP)
  How to hide the drop-down list of domains that appears on the logon screen of XP
  Virtual Server 2005: How To Configure the Virtual DHCP Server
  Opening Blocked Attachments with Outlook 2003

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.