remove dead Amazon profile link
[KenyonWiki.git] / Mac_OS_X_hostname.mdwn
1 To prevent my hostname from being set by DHCP, I have this:
2
3     kenyon@devildog ~ % grep -i hostname /etc/hostconfig
4     HOSTNAME=devildog.kenyonralph.com
5
6 In System Preferences, Sharing, Computer Name should be set to the FQDN. The .local name will just be the first part.
7
8 `hostname` should return the FQDN (devildog.kenyonralph.com), and `hostname -s` should return just the first part (devildog).
9
10 ## References
11 * <http://excitedcuriosity.wordpress.com/2007/08/24/mac-os-x-hostname-determination/>
12 * <http://forums.macosxhints.com/showthread.php?t=29712>
13 * <http://www.macosxhints.com/article.php?story=20001224021638403>
14
15 [[!tag "Mac OS X"]]