How to stop OS X pulling its hostname from DNS

12 Sep 2012

sudo scutil — set HostName {desired hostname}

You’re welcome…

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.