Hostnames
Jump To: Support > KB > MacOSX > Hostnames
Fixing hostname, DNS and logging-in issues on Mac OS X
Hardwiring hostname
- On the host, enter the hostname of the computer in the
/etc/hostconfig
file. For example:HOSTNAME=it1-04.farleighschool.local
- Reset the hostname using the
scutil
command. For example:scutil --set it1-04.farleighschool.local
- To get a new DHCP address, go to System Preferences on the system, click on Network, remove the Ethernet connection using the “-” button and then click Apply, then click the “+” button and add the Ethernet connection back in. This will force the computer to do a full DHCP release and refresh.
- Reboot.
- Test you can do forward and reverse lookups on the computer's hostname.
Problems related to Macs and "dot local" TLDs.
(These problems will lead to slow login times on network accounts)
- In
/Library/Preferences
edit theedu.mit.Kerberos
file. Under the[libdefaults]
section, add the following line:dns_fallback = no
Doing this removes the need to add kerberos SRV records to DNS. - Add a spoof IPv6 (AAAA) record to your DNS server for your Mac OS X server (the server hosting your AD or OD).