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
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 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