You can specify a DNS hostname for your Mac either by using Terminal or by using the Sharing Preference Pane. This means, in a nutshell, that our Macs have: Before attempting a domain join from a Mac computer, we need to make sure that we have our server- and client-side networking correctly configured.