Quantcast
Channel: Ivanti User Community: Message List
Viewing all articles
Browse latest Browse all 11624

Re: Mac's are reporting Device Name as somthing different from Computer Name

$
0
0

Hi Brian,

 

I'm not sure what to tell you other then welcome to Unix. Computer Name and Network Name are not the same thing thus they can be different. This isn't a error in LANDesk. Mac OSX takes it further by adding a Bonjour name and... I know there is at least one more but it escapes me at the moment.

 

Anyway basically what is happening is when OS X gets a DHCP address it does a reverse lookup to your DNS server to see what the name assosiated with that address is and that becomes its network name. If you don't like this behavior there are a few different things you can do.

 

  1. You can edit /etc/hostconfig and add the line HOSTNAME=[desired hostname] and reboot. This file is deprecated since 10.5, but it still worked last time I tried it.
  2. In System Preferences -> Sharing you can set the "computer name". If you click the "Edit..." button, you'll see a setting for "Use dynamic global hostname". Untick this to stop the DNS lookup and retain whatever setting you put in there.
  3. Set it in with a terminal command: sudo scutil --set HostName <MachineHostName_or_FQDN> (i.e. sudo scutil --set HostName server1.mynetwork.com)
  4. If your DHCP Server supports it you can go into System Preferences -> Network -> Select your adaptor on the left -> click the Advanced button -> Set the "DHCP client ID" to your hostname.
  5. On your windows DHCP server server turn on the option to dynamically update DNS A and PTR records for DHCP clients that do not request updates.

Viewing all articles
Browse latest Browse all 11624

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>