beautypg.com

Changing the ip address of a server, Changing the server’s dns name after setup – Apple Mac OS X Server (Version 10.6 Snow Leopard) User Manual

Page 144

background image

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 off the primary network interface and then turn it back on with a
different address. Several services will not get the needed notification to update their
configuration.

Changing your IP address can have significant unintended consequences, depending
on the services your server provides. For information on the effects 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 significant unintended
consequences, depending on the services your server provides.

For information on the effects 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 qualified 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

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