Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
E: enquiries@precedence.co.uk
Hostnames

Jump To: Support > KB > MacOSX > Hostnames

Fixing hostname, DNS and logging-in issues on Mac OS X

Hardwiring hostname

  1. On the host, enter the hostname of the computer in the /etc/hostconfig file. For example: HOSTNAME=it1-04.farleighschool.local
  2. Reset the hostname using the scutil command. For example: scutil --set it1-04.farleighschool.local
  3. 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.
  4. Reboot.
  5. 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)

  1. In /Library/Preferences edit the edu.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.
  2. Add a spoof IPv6 (AAAA) record to your DNS server for your Mac OS X server (the server hosting your AD or OD).
© Copyright Precedence Technologies 1999-2024
Page last modified on March 09, 2012, at 11:13 AM by sborrill