Changing Hostname/DNS Name

jono_dale

Registered
Hi all,

When I setup my Mac initiall, it had a name like 'jonathan-dales-computer'. I made the necessary changes in the Sharing preference, but when I started a terminal (and used hostname), it still reported 'jonathan-dales-computer'.

To fix this, I edited /etc/hostsconfig and changed the HOSTNAME variable from -AUTOMATIC- to my desired hostname, rebooted and all was fine.

However, when I run Remote Desktop on another Mac and scan the LAN, it is reporting the 'DNS Name' of the machine still as 'jonathan-dales-computer'.

I have looked everywhere on the net and can't find where to change this.

Can anyone tell me the 'correct' way to change (once and for all) the local and broadcast name of the machine?

Thanks,


Jonathan
 
Back
Top