LogonServer On Mac

ashishgupta6
New Contributor II

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

1 ACCEPTED SOLUTION

ashishgupta6
New Contributor II

@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.

View solution in original post

6 REPLIES 6

Nix4Life
Valued Contributor

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

ashishgupta6
New Contributor II

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

Nix4Life
Valued Contributor

@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

ashishgupta6
New Contributor II

@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.

gda
Contributor

Can you share your solution to jamfnation?

glpi-ios
Contributor III

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

Thank you