Solved

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

Posted on 2011-02-17
4
1,246 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to run the DNS query from the server? 5 66
DNS Servers and Acttive Directory not communicating properly 7 65
apple tv fire 15 41
Public DNS? 10 52
This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now