Skip to main content

Hey Guys,



In our environment, we have 4 domain controllers in our domain, like test.com. Macs are joined to the domain using "test.com". Now, I want to know to which domain controller they are hitting. In windows, it is too easy just type "SET L" and you will get the logonserver. How to do this on mac?



Thanks,
Ashish

for a quick shot , I use
ipconfig getpacket en(x), where x could be 0,1 (etc)
example:
$ ipconfig getpacket en0 | grep domain
domain_name_server (ip_mult): {192.168.1.101, 192.168.1.105}
domain_name (string): my.example.com


They are windows command. I need to know which command to use on mac.


@ashishgupta6
Yes it does look like windows command line,but those are most certainly are run from command line on macOS 10



try man ipconfig for the full BSD



Larry


@LSinNY Thank you for this information but it didn't help really. It is sending my the pre-defined DC IP addresses and domain name. But I wanted to know that to which DC my system to hitting. Now i have figured it out. So we can close this case now.


Can you share your solution to jamfnation?


Hello, I am interested in knowing the solution please because I can't find either.



Thank you


Reply