Windows Server – How to Re-Register an Active Directory Domain Controller DNS Records

An Active Directory domain controller (DC) registers quite a few resource records of different types in DNS. When troubleshooting a network, DNS, or Active Directory issue, it is sometimes necessary to manually re-register these records. This can be accomplished by following a few simple steps:

  1. Open an elevated command prompt.
  2. Type ipconfig /all and verify that the correct DNS servers are listed. A domain controller, like any other domain-joined machine, should use only DNS servers that are inside the domain.
    1376433217313.ipconfig-all
  3. Type ipconfig /flushdns to clear the DC’s resolver cache.
    1376433329486.flushdns
  4. Type ipconfig /registerdns to register the DC’s host and PTR records.
    1376433389628.registerdns
  5. To register the DC’s SRV records, type net stop netlogon and net start netlogon to restart the Net Logon service, which is responsible for registering those records.
    1376433459676.restart-netlogonAlternatively, open the Services console and restart the Net Logon service from there.
    1376433493363.restart-netlogon-gui
  6. Wait a few minutes, then check DNS to verify that the records have been registered.

For information on the DNS records registered by a DC, see DNS Records Registered by an Active Directory Domain Controller.