Try type "any" or "SRV"
Did you query for the "any
" DNS resource record (wildcard/pseudo) type? (Otherwise the default is to simple query for A
records. And the records in question are in fact SRV
RRs.)
(Also: you said you used type "all", I don't know if there is such a thing. What any
does is translate to a query for resource record type 0x00FF
, decimal 255. I checked with Wireshark. This translation is done by your client. I don't know all clients, but I can tell you that dig
does NOT know of "type all" and NOT "type *" either and will give you an error. But dig will work nicely if you say "-t any".)
Using dig
(if "example.com" is your Active Directory domain name):
dig _ldap._tcp.dc._msdcs.EXAMPLE.COM -t any
dig _ldap._tcp.dc._msdcs.EXAMPLE.COM -t srv
Using the WINDOWS version of nslookup
, the type MUST go as first parameter like so:
nslookup -type=any _ldap._tcp.dc._msdcs.EXAMPLE.COM
nslookup -type=srv _ldap._tcp.dc._msdcs.EXAMPLE.COM
Also try just the regular "A" type
Also you can simply dig/nslookup the Active_Directory_DNS_domain_name
and this will give you DC-IPs. (Because there's actually A
records at that level.)