Changing IP hostname-How to?
Our FTP service stop working several weeks again and after some research here, I believe I have located the problem? I found I need to run a changeip to see if the Hostname and dns match. The result is stated below:
Last login: Mon Feb 25 08:29:28 on console
Welcome to Darwin!
rrcs-24-106-224-7:~ admin$ sudo changeip -checkhostname
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
Primary address = 70.60.32.130
Current HostName = rrcs-24-106-224-7.central.biz.rr.com
DNS HostName = rrcs-70-60-32-130.central.biz.rr.com
To fix the hostname please run /usr/sbin/changeip for your system with the
appropriate directory with the following values
/usr/sbin/changeip <node> 70.60.32.130 70.60.32.130 rrcs-24-106-224-7.central.biz.rr.com rrcs-70-60-32-130.central.biz.rr.com
example:
/usr/sbin/changeip /LDAPv3/127.0.0.1 70.60.32.130 70.60.32.130 rrcs-24-106-224-7.central.biz.rr.com rrcs-70-60-32-130.central.biz.rr.com
Can someone outline steps to correct this. I am unexperienced w/ command line/unix and understand it can get easily corrupt if I error. Thank you in advanced.
Last login: Mon Feb 25 08:29:28 on console
Welcome to Darwin!
rrcs-24-106-224-7:~ admin$ sudo changeip -checkhostname
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
Primary address = 70.60.32.130
Current HostName = rrcs-24-106-224-7.central.biz.rr.com
DNS HostName = rrcs-70-60-32-130.central.biz.rr.com
To fix the hostname please run /usr/sbin/changeip for your system with the
appropriate directory with the following values
/usr/sbin/changeip <node> 70.60.32.130 70.60.32.130 rrcs-24-106-224-7.central.biz.rr.com rrcs-70-60-32-130.central.biz.rr.com
example:
/usr/sbin/changeip /LDAPv3/127.0.0.1 70.60.32.130 70.60.32.130 rrcs-24-106-224-7.central.biz.rr.com rrcs-70-60-32-130.central.biz.rr.com
Can someone outline steps to correct this. I am unexperienced w/ command line/unix and understand it can get easily corrupt if I error. Thank you in advanced.