Solved

Snow Leopard server - What tools to use instead of "changeip"?

Posted on 2011-02-17
4
1,264 Views
Last Modified: 2012-05-11
Experts,

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".
The changeip (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 website.

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?
or,
- 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:
Hostname: server1
DNS name: server1.example.com
IP number: 10.0.0.1

I want to change it to:
Hostname: server2
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
0
Comment
Question by:Mac2010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
marook earned 500 total points
ID: 34924184
Hi,
Well.. we use it all the time - and it has been the only way to fix a broken Podcast Producer server.
At a tech-briefing, an Apple engineer did mention that changeip is run by the system if you make changed to the Network prefpane, so the system seems to use it itself.
But we as mentioned, we have been in a need to use it directly.
0
 
LVL 8

Author Comment

by:Mac2010
ID: 34969031
Thanks for you feedback. Is there any official documentation, that you know of, about what the Apple engineer mentioned?
0
 
LVL 7

Assisted Solution

by:marook
marook earned 500 total points
ID: 34975789
Hi,
No - none that we were given.. :-(
We did some tests in the office two days ago, and we can't trace changeip being run, but a 'postconf' tool is run, but that seems to be a Postfix repair tool...
So - the issue is till up in the air.. :-(
0
 
LVL 8

Author Closing Comment

by:Mac2010
ID: 35033992
I'm closing the question; this issue remains open, partly unsolved. It would be nice if Apple gets more clear on this.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question