NLTest /dsregdns test indicates ERROR_NO_LOGON_SERVERS

Question : NLTest /dsregdns test indicates ERROR_NO_LOGON_SERVERS

After rebooting 2 of my domain controllers, I get an error when attempting to login.  If I log in with any other account other than DOMAINAdministrator, I get an error message that states the domain cannot be found.

I have a parent/child domain with approximately 15 domain controllers

After logging in as the DOMAINAdministrator, I see event 5781 in the system log:

Event Type:      Warning
Event Source:      NETLOGON
Event Category:      None
Event ID:      5781
Date:            1/21/2009
Time:            8:25:06 PM
User:            N/A
Computer:      DC06
Dynamic registration or deletion of one or more DNS records associated with DNS domain ‘’ failed.  These records are used by other computers to locate this server as a domain controller (if the specified domain is an Active Directory domain) or as an LDAP server (if the specified domain is an application partition).

Possible causes of failure include:
– TCP/IP properties of the network connections of this computer contain wrong IP address(es) of the preferred and alternate DNS servers
– Specified preferred and alternate DNS servers are not running
– DNS server(s) primary for the records to be registered is not running
– Preferred or alternate DNS servers are configured with wrong root hints
– Parent DNS zone contains incorrect delegation to the child zone authoritative for the DNS records that failed registration

Fix possible misconfiguration(s) specified above and initiate registration or deletion of the DNS records by running ‘nltest.exe /dsregdns’ from the command prompt or by restarting Net Logon service. Nltest.exe is available in the Microsoft Windows Server Resource Kit CD.

For more information, see Help and Support Center at
0000: b4 05 00 00               ´…


When running nltest.exe /dsregdns the results are:

Flags: 0
Connection Status = 1311 0x51f ERROR_NO_LOGON_SERVERS
The command completed successfully

That domain controller is pointing to itself for DNS, is a global catalog (all servers in the domain are), but I’m afraid certain DNS records aren’t successfully registering.  The DNS service is running and will permit me to ping other domain controllers in both the parent and child domains


Solution : NLTest /dsregdns test indicates ERROR_NO_LOGON_SERVERS

Have you tried rebooting the two again and see if this happens again?

Might be a race conditon here.  If it still happens after the reboot you may want to try switching up the DNS settings.  Have DC1 primary setting point to DC2, the alternate pointing to itself. On DC2, the primary points to DC1 and alternate points to itself.

Restarting netlogon will register teh DNS records again (so will the reboot).  You can check DNS and see if they are in there.