Link to home
Start Free TrialLog in
Avatar of mendezcb
mendezcb

asked on

Get Active Directory server from auth machine

Hey, I am developing an app and I need to know the server address for Active Directory, so I can do a connection. So I wanted to know if there is a way to get the IP address of the AD from my "client" machine.

Basically to know to wich server my machine authenticaded to the last time.

Thanks.
Avatar of Abhay Pujari
Abhay Pujari
Flag of India image

You can use ipconfig all which will show you your primary DNS server (If you have configured your DC as a DNS as well). OR If you know the name of the server, then try pinging it, will give you IP.
OR open my network places and browse for all computes on your network. You need to browse each machine. The machine which will show you SYSVOL and NETLOGON folders, is your DC. Try pinging it and will get the IP.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mendezcb
mendezcb

ASKER

Great explaining, and great solution! Is not only about having the answer is about know how to communicate it, you did both great. Thanks.