How can I force a domain controller (DC) to reregister its DNS records?

John Savill

July 23, 2006

1 Min Read
ITPro Today logo

A. Several options exist that let you force a DC to reregister its DNS records. For example, you can stop and start the netlogon service on a DC to make it reregister all the service DNS records. You can also use the /dsregdns switch with the Nltest command to force a DC to reregister all it's DNS records, as the following sample execution shows:

C:>nltest /dsregdnsFlags: 0Connection Status = 0 0x0 NERR_SuccessThe command completed successfully

This method lets you avoid losing the netlogon service during the stop and restart.

You can also force reregistration of another DC's records by adding the /server: switch (although it must be online and running for it to succeed) The following sample shows a failed execution because the DC is offline):

C:>nltest /server:savdaldc02.savilltech.com /dsregdnsI_NetLogonControl failed: Status = 1722 0x6ba RPC_S_SERVER_UNAVAILABLE

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like