Posted on 01-11-2017 11:22 AM
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
Solved! Go to Solution.
Posted on 02-07-2017 02:56 AM
@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.
Posted on 01-11-2017 11:32 AM
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
Posted on 01-11-2017 10:58 PM
They are windows command. I need to know which command to use on mac.
Posted on 01-12-2017 05:15 AM
@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
Posted on 02-07-2017 02:56 AM
@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.
Posted on 02-07-2017 03:40 AM
Can you share your solution to jamfnation?
Posted on 12-04-2020 05:35 AM
Hello, I am interested in knowing the solution please because I can't find either.
Thank you