T The Triage ManualTechnical Guides for IT Emergencies
P3 · Active Directory

Force Domain Controller to Re-register AD DNS Records Without Restarting Netlogon

When a Domain Controller fails to register or maintain its AD-specific DNS records (SRV, CNAME, A) in DNS zones such as _msdcs, _tcp, _udp, and _sites, clients lose the ability to locate domain controllers. Running 'ipconfig /registerdns' is insufficient as it only handles A and PTR records; the correct fix is 'nltest /DSREGDNS' (optionally with '/SERVER:<name>' for remote execution), which immediately triggers netlogon to re-register all AD DNS records without requiring a service restart. If nltest does not resolve the issue, restarting the netlogon service is the definitive fallback.

Indicators

Likely causes

Diagnostic steps

  1. Run 'dcdiag /test:dns' on the affected DC to confirm which AD DNS records are missing or incorrectly registered.
  2. Run 'ipconfig /registerdns' and note that this only re-registers A and PTR records — it does NOT register AD SRV or CNAME service records managed by netlogon.
  3. Run 'nltest /DSREGDNS' directly on the DC to trigger immediate re-registration of all AD-specific DNS records managed by the netlogon service.
  4. If executing remotely or from a non-DC workstation, run 'nltest /DSREGDNS /SERVER:<servername>' specifying the target DC by hostname.
  5. Verify successful registration by inspecting the DNS server zones for _msdcs, _tcp, _udp, and _sites SRV records associated with the DC. Allow 60–90 seconds for propagation before checking.
  6. If nltest /DSREGDNS does not resolve the issue, restart the netlogon service as a definitive fallback: 'net stop netlogon && net start netlogon'.
  7. If records still fail to register after a netlogon restart, inspect the DNS zone configuration to confirm secure dynamic updates are permitted from the DC's machine account, and review DNS server logs for rejected update attempts.

Resolution path

Prevention

Tools

References

active-directorydnsdomain-controllernetlogonnltestsrv-recordsdynamic-dnsdcdiagdns-registrationwindows-server