My client has both windows and Linux servers in their environment. There are multiple AD domains in the client environment and these servers are part of one of these domain. As a penetration tester, I often receive a set of IPs to test. I have a requirement to determine the domain controller name of these servers.
I use Kali linux for my work. I am able to enumerate the LDAP servers for each of the domain but I am unable to determine the Domain controller name of these servers from their IP address. I have tried ldapserach but could not succeed.
Is there a way for me to find this information without authentication?
FYI: I have access to Client's private network and nslookup does not always provide the right info e.g. the DNS name of an IP can be abcd.myorg.com but its AD domain name could be abcd.efg.myorg.local I am trying to find that info.
Any help is appreciated