Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Find name of Active Directory domain controller

On any computer, that has DNS configured to use AD’s DNS server do:

  • Start -> Run -> nslookup

    set type=all
    _ldap._tcp.dc._msdcs.DOMAIN_NAME
    

Replace DOMAIN_NAME with the actual domain name e.g. example.com. Read more here.

Related Posts:

  1. Powershell: A positional parameter cannot be found that accepts argument “xxx”
  2. Cannot get Kerberos service ticket: KrbException: Server not found in Kerberos database (7)
  3. What are the differences between LDAP and Active Directory?
  4. Query to list all users of a certain group
  5. What are CN, OU, DC in an LDAP search?
  6. How can I find out what AD groups I’m a member of?
  7. Is there a way to view the members of an Active Directory group if you aren’t a domain admin and can’t log into to a domain controller?
  8. How can I figure out my LDAP connection string?
  9. What is ADFS (Active Directory Federation Services)?
  10. LDAP query in PowerShell
  11. Authenticating in PHP using LDAP through Active Directory
  12. Command line to list users in a Windows Active Directory group?
  13. What is Active Directory Domain Services and how does it work?
  14. Windows Active Directory naming best practices?
Categories active directory Tags active-directory
What does Virtual memory size in top mean?
Are SSD drives as reliable as mechanical drives (2013)?

Leave a Comment Cancel reply

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress