DNS Query used to find GC and DC

DNS Query used to find GC and DC


How can I use nslookup to find the GC and DC in DNS for Microsoft AD ?
 
To find the GC (global catalog) that are listed in DNS

nslookup
> set type=srv
> _ldap._tcp.gc._msdcs.comapny.com

Server: adsrv1.example-cloud.com
Address: 192.168.1.251

_ldap._tcp.gc._msdcs.example-cloud.com SRV service location:
priority = 0
weight = 100
port = 3268
svr hostname = adsrv1.example-cloud.com
adserv1.example-cloud.com internet address = 192.168.1.251

To find the DC (domain controllers) that are listed in DNS

nslookup
set type=srv
_ldap._tcp.dc._msdcs.example-cloud.com

Server: adsrv1.comapny.com
Address: 192.168.1.251

_ldap._tcp.dc._msdcs.example-cloud.com SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = adsrv2.example-cloud.com
_ldap._tcp.dc._msdcs.example-cloud.com SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = adsrv1.example-cloud.com
adsrv2.example-cloud.com internet address = 192.168.1.33
adsrv1.example-cloud.com internet address = 192.168.1.25


If you find that you have some invalid entries, you have to delete those by hand.  If you are missing entries you can try Use DcDiag /Fix or NetDiag /fix (on each server) to re-enter them.
 

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Lenovo Unified Workspace End-of-Life Questions and Answers

        Will the shutdown of LUW servers and access to downloads affect my server licensing? No, the shutdown of the customer servers and access to the product and licensing downloads will not affect your server licensing. This license is downloaded and ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • LanSchool Documentation Guides

        LanSchool Classic Teacher Console The LanSchool Teacher Console is the interface teachers will use to manage their classroom and students. It contains all the tools necessary for a teacher to effectively interact with students and create a ...
      • Lenovo Unified Workspace 7.0.1.41 Released

        Highlights of Unified Workspace 7.0.1.41 Before you install: Please view the installation notes here. 7.0.1.41 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Updated Log4j Updated Java Updated ...
      • Related Articles

      • DNS Errors

        Customer is having issues talking to active directory and ran a dns test with the results INFO: exploring forest using domain controller: server1.company.com  >>>>>: (DNS) - testing domain: COMPANY  INFO: according to DNS, the following services are ...
      • What does the dns record (same as parent record) mean in Microsoft DNS ?

        "Same as parent" record is used to identify DC’s under a domain name. The "(same as parent)" record is called the LdapIpAddress record. It is an important dns record. Without it, clients can’t find the DC, especially if it’s the only one, as well as ...
      • DC won’t obtain SSL certificate automatically

        Customer installed Enterprise CA server in their AD forest and some Domain Controllers won’t pick up an SSL certificate.   The customer used LDP.exe to verify all of their DC to see if they had SSL enabled.  They found a DC that did not pick up an ...
      • DNSLint : Resolving DNS Names

        The following information comes from the Microsoft URL : http://support.microsoft.com/kb/321046 There is also a powerpoint on the subject at : ...
      • DNS Test : NameNotFoundException error

        The customer is using MS AD and is in the stoneware management console and did a DNS Test. The following Errors were given. INFO: Attempting to locate a domain controller in DNS for domain: company.org ERROR: javax.naming.NameNotFoundException: DNS ...