I would like to hear your opinion on the following issue:
In the Apple manual (*) "Advanced_Server_Admin_v10
.6.pdf", on page 144-145 is mentioned "Do not use the changeip command-line tool to change DNS names, even though the tool is still available" and "Do not use the changeip command-line tool to change computer names, even though the tool is still available".
(Terminal-) command seems to still work well (at least most of the time).
As far as I know changeip
is a script that is performing a series of tasks when you need to change the (dns-) hostname and/or IP-number of a Mac OS X Server.
The "Advanced Server Administration" manual also tells: "You can use the scutil command-line tool to set the local hostname and local hostname. For more information, see the scutil man page."
This tool seems to be around for quite some time, as I found in an old article on the www.afp548.com
On the other hand, Apple seems to be inconsistant with the advice quoted above.
On page page 134 is mentioned: "Use changeip to change the IP address of the Podcast Producer server. (etc)"
and on page 142: "3 Use changeip to change the DNS name of the Podcast Producer server."
So I'm getting confused here. What I would like to know (and will test in the next weeks) is:
- Do we need to use a mix of the commands now?
- Do we manually need to perform a series of steps?
- Am I getting something wrong or overlooking something?
Suppose I have this server with the following specifications:
DNS name: server1.example.com
IP number: 10.0.0.1
I want to change it to:
DNS name: server2.example.com
IP number: 10.0.0.2
Until recently I would change hostname and IP number first in the System Preferences and then run the changeip
command. Which usually gets me the results I want. What steps should I officialy do now? This manual could be more clear IMO.
Thanks in advance!
(*) Downloadable from this page: http://www.apple.com/server/macosx/resources/documentation.html