Hi,
I'm trying to understand the logic of nslookup when querying for all domain
controllers...
nslookup -type=srv _ldap._tcp.dc._msdcs.<domain>.<tld>
returns a list of all registered hostnames of the DCs that have registered the
record mentioned. At the bottom of the list it also shows the hostnames and the
corresponding IP addresses (internet address). An example is given below...
C:\>nslookup -type=srv _ldap._tcp.dc._msdcs.adcorp.lan
Server: rootdc01.adcorp.lan
Address: 10.0.0.1
_ldap._tcp.dc._msdcs.adcorp.lan SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = rootdc02.adcorp.lan
_ldap._tcp.dc._msdcs.adcorp.lan SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = rootdc01.adcorp.lan
rootdc02.adcorp.lan internet address = 10.0.0.2
rootdc01.adcorp.lan internet address = 10.0.0.1
Now the case...
In the case above with 2 DCs it returns 2 hostnames that have registered the
SRV RR mentioned, and it shows 2 hostnames that resolved to an IP address...
In a certain domain with 50 DCs it returns 50 hostnames that have registered
the SRV RR mentioned, but it only shows 22 hostnames that resolved to an IP
address... Every time the command is executed it always only resolves 22
hostnames to IP addresses (the list of resolved hostnames to IP is also
different each time, again round robin)
In another certain domain with 8 DCs it returns 8 hostnames that have
registered the SRV RR mentioned, but it only shows 8 hostnames that resolved to
an IP address...Every time the command is executed it always only resolves 5
hostnames to IP addresses (the list of resolved hostnames to IP is also
different each time, again round robin)
The question...
What is the logic between the number of hostnames returned that have registered
the SRV RR and the number of hostnames that are resolved to IP address.
In the last 2 cases why does it not resolve ALL hostnames to IP addresses?
Thanks
Cheers,
Jorge
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/