From the advanced server admin documentation
To change the DNS name
sudo scutil –set OldName You can use the scutil command-line tool to set the computer name and local
hostname. For more information, see the scutil man page. Do not use the changeip command-line tool to change DNS names, even though the
tool is still available.
and
You can use the scutil command-line tool to set the local hostname and local hostname. For more information, see the scutil man page.
Do not use the changeip command-line tool to change computer names, even though the tool is still available.
I’m confused. In the same manual they tell you to use changeip to modify other records so what gives?