I am from a Linux background with a fair amount of Windows knowledge too but I find myself in the curious position of having to look after someone's macbook air. I am totally new to OSX.
I would appreciate some guidance to help me understand how the computer's host and domain names are configured when a basic DHCP client networking is being used.
So far, I understand there are several names including a Computer Name and a host name. By default the computer name is a wordy description (like "Fred's MacBook Air") and I have found this prevents the correct host name being published by the DHCP/DNS server. I found changing the computer name to "myhost" fixed this.
I assume the FQDN is obtained from the DHCP server and this sets the search domains to "mydomain.com" - if not then I'd like to understand how is this set - because on the network settings DNS screen it is displayed but greyed out.
The "domainname" command in a terminal returns nothing. The file
/etc/resolv.conf has a big banner saying it isn't used. Something is setting the machine's domain name and, here's the rub: it's inserting backslashes into it.
This can be seen on the sharing page for remote logins where it says To log in to this computer remotely, type "ssh firstname.lastname@example.org\.com". It can also be experienced via the
So, rambling on a bit, I guess my question distils down to
(a) an explanation of host/domain name/network configuration on OSX would be greatly appreciated, and (b) how to I set the domain name so that it does not have backslashes in it ?