Hi, so we've had macs here for a long time. We eventually got them working with the Active Directory, and with this I thought would also come the DNS or DDNS names i.e. mymac.instituation.ac.uk (for local network stuff). I must iterate here that this is just for internal name lookups, nothing external here, no internet related stuff, intranet ONLY.
So, it worked on most of them. After adding them to active directory, they got their names: 'mymac1.institution.ac.uk', but for about 1 in 5 macs (we have about 150) it'll give it the DNS name of some random machine in college! So instead of it saying 'mymac.institution.ac.uk' it'll say 'somonesPC.institution.ac.uk' !!!!!
I've put up with it for about 7 years, just used the mac sharing name instead, and remembering IP addresses. But we're trying to integrate the macs further into the network, and this is perhaps one of the last hurdles.
Anyway, I did some searching and found this quite frustrating forum. Seems lots of people not communicating very well. At the end, someone suggested this solution. I've yet to try it but if anyone has any comments?
So, I've now found a command which changes: Computer Name, Host Name, Local Host Name:
scutil --get ComputerName
scutil --get HostName
scutil --get LocalHostName
The Computer Name and Local Host Name is the one set up through System Preferences > Sharing, at the top
scutil --get ComputerName|scutil --set HostName
No comments:
Post a Comment