Whoops should have read on. ;o) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Adner Sent: Friday, December 09, 2005 4:03 PM To: [email protected] Subject: RE: [ActiveDir] SRV RRs and NSLOOKUP
The internet address portion of the response is optional and may not be returned in its entirety based on UDP packet size. The number if internet address entries returned can vary based on the number of characters in the host and domain names. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Almeida > Pinto, Jorge de > Sent: Friday, December 09, 2005 2:42 PM > To: [email protected] > Subject: [ActiveDir] SRV RRs and NSLOOKUP > > 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/ 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/ 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/
