I happened to be backing up the netlogon logs from our domain controllers when I noticed an issue from one of our DCs. When I run "nltest /query" from a CMD prompt, I get the following results:
Flags: 0
Connection Status = 1311 0x51f ERROR_NO_LOGON_SERVERS
The command completed successfully
I verified the other 5 DCs and the command returns 0x0 NERR_Success on all of them except for this one.
I tried restarting the Netlogon service, but the error persisted. I then did a reboot of the server, and tested again after it came back up; the results were 0x0 NERR_Success. I noticed that the log file had more info than I wanted to see (I normally only want to see info like this: 10/13 06:16:37 LAKEIMAGING: NO_CLIENT_SITE: 3RD-HR2 192.168.210.250); there was way more verbosity than that. So I ran "nltest /dbflag:0x0" and restarted the netlogon service. Afterwards, I tested again with "nltest /query" and I am getting the same error as before (1311)!! I can't figure out what is causing this or how to fix it permanently!