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

      • Change Reset Password Button Text

        Change the text of the "Reset Password" button on the UW Login Page How to change the text of the Reset Password button on the Login Page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants ...
      • Remove Reset Password Button From Login Page

        Remove the Reset Password Button from the Login Page How to remove the Reset Password button from the Unified Workspace login page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants Expand ...
      • Lenovo Unified Workspace End-of-Life Questions and Answers

        As of January 31st 2024, Lenovo Unified Workspace (formerly Stoneware WebNetwork) is no longer supported. This means that we no longer provide licenses, downloads, updates, patches, or technical assistance for this product. If you have any questions ...
      • 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 ...
      • 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 ...
      • 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 ...
      • How to dump the AD DNS Partitions

        How can I check what AD DNS Partitions my AD DNS server holds ?   dnscmd /EnumDirectoryPartitions which is a command line utility installed on a windows dns server. It will output Example Output Enumerated directory partition list: Directory ...