At my current job, we name our computers the same name as their DNS names.
I needed a way to set my Macs' HostName, LocalHostName, and ComputerName the
same as the DNS name so that puppet is happy, ARD is happy, and other network
things.
I had been trying to