The Domain Name System (DNS) protocol is an important part of the web’s infrastructure, serving as the Internet’s phone book: every time you visit a website, your computer performs a DNS lookup. Complex pages often require multiple DNS lookups before they start loading, so your server may be performing hundreds of lookups a day. Haven experienced this error in my lab which says “An error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain “xxxxxx.com”. See the troubleshooting guide for a similar error: “How to Fix Err Connection Timed Out DNS Error“. Resetting the Domain Name System (DNS) can be a useful troubleshooting step as it can fix issues that would prevent you from being able to view web pages through your internet browser.
The error was: "No records found for given DNS query." (error code 0x0000251D DNS_INFO_NO_RECORDS). The query was for the SRV record for _ldap._tcp.dc._msdcs.xxxxxx.com"
How to fix: Oftentimes, these issues arise when a secondary NIC card is enabled. Simply disable the secondary NIC card and also ensure the IPv6 option unchecked.
– Next, you have to run the following commands,
c:/>ipconfig /flushdns c:/>pconfig /registerdns
Your Domain DNS zone may not have the proper SRV records registered for the DC.
– Restart the netlogon service command on the server
c:/>net stop netlogon c:/> net start netlogon
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.