Solved

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

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Resolve DNS query failed errors for Exchange
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

23 Experts available now in Live!

Get 1:1 Help Now