Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Because DynDNS stopped offering a specific domain name, my customer had to change this. This will end up in changing the server settings at all.


  • Mac Mini Server with MacOS Server 10.6.8
  • The services AFP, SMB, Calendar, Addressbook, Kerberos are configured and running
  • Some domain users are configured
  • Existing DNS name of the server is
  • The new DNS name will be

I know that for some parts I have to use scutil, but I'm not sure, if this does change every occurrence of the old DNS name to the new DNS name. How about Kerberos? Isn't it that way, that I have to shutdown Kerberos, to be able to change the Realm and LDP Search Base but then also all Domain Users will be deleted?

What I'm searching for is a Step-by-Step description to have a error-free change of DNS entries for all services on the server.

share|improve this question

You don't really need to change the Kerberos realm and the LDAP search base. Having these to reflect the DNS name is a convenient convention, but not a strict requirement.

Changing the Kerberos configuration wouldn't be all that difficult, but I have no idea how OpenDirectory or the LDAP part of it would react to a change of the base DN. In the general case of a Linux OpenLDAP server it would be easy (exporting the data, modify the LDIF files, import back in), but the tricky part might be the references to the password server database that OpenDirectory uses. For a guide to change the KDC data, please refer to this guide from Apple. It works, I did this :)

For AFP/SMB, the DNS name is largely irrelevant, it just answers when talked to on the assigned port.

Can't comment on the groupware stuff.

share|improve this answer


Usage: changeip <oldIP> [<newIP>] [<oldHost> <newHost>]
Change IP addresses and host names in supported files, e.g.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.