Apple 10.6 Server User Manual


 
Changing the IP Address of a Server
You can change the IP address of a server using the Network pane of System
Preferences or the networksetup tool.
Do not turn o the primary network interface and then turn it back on with a
dierent address. Several services will not get the needed notication to update their
conguration.
Changing your IP address can have signicant unintended consequences, depending
on the services your server provides. For information on the eects of changing
the IP addresses, see “Understanding Changes to the Server IP Address or Network
Identity” on page 132 .
The changeip command-line tool can accomplish manually what is done
automatically, and it is still available.
Changing the Server’s DNS Name After Setup
If you change a server’s DNS name after setup, the name must be changed with your
DNS service provider.
Until the server’s DNS name matches the name with the DNS service provider, several
services will not function. Changing your DNS name can have signicant unintended
consequences, depending on the services your server provides.
For information on the eects of changing the DNS name, see “Understanding
Changes to the Server IP Address or Network Identity” on page 132 .
The DNS name is the Internet host name, which is a fully qualied domain name. Only
the DNS name is the Internet-routable name that services use for network identity.
To change the DNS name
sudo scutil --set OldName <NewName.domain.tld>
You can use the scutil command-line tool to set the computer name and local
hostname. For more information, see the scutil man page.
Do not use the changeip command-line tool to change DNS names, even though the
tool is still available.
Changing the Server’s Computer Name and the Local Hostname
The computer name is a user-friendly name for the system and is shown in the Finder
and tools like Apple Remote Desktop.
The local hostname is a domain name, usable only on the local network, and is
published to other services which are Bonjour-aware.
144 Chapter 7 Ongoing System Management