DNS only server date/time update
Hello,
Within the DNS Only version of WHM I am currently running there is no option within the Server Configuration page to change the server time to reflect that of our main server. Our DNS only server is running 14 hours behind. Is this something that must be handled manually on the command line?
Thanks.
CENTOS 6.7 x86_64 standard
WHM 54.0 (build 22)
-
Hello, You can sync your server time with the following command: rdate -s rdate.cpanel.net
Note that "rdate" requires TCP outbound traffic over port 37, in-case you have any firewall rules that restrict access. Thank you.0 -
Thanks for this Michael. I should have been a little more explicit, I want to set the server time as Australia/Melbourne as the current time is set as 14 hours behind Melbourne. No GUI exists to set the default time-zone to AEST. Thank you. 0 -
You will need to change the time zone manually from the command line on cPanel DNS-Only. Here's an example of how to do this on CentOS 6: cp /etc/localtime /root/old.timezone rm /etc/localtime ln -s /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
You can open a feature request for the inclusion of this option on cPanel DNS-Only via: Submit a Feature Request Thank you.0 -
Thank you Michael, all our servers are now running the same time. Appreciated. 0 -
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome. 0 -
Just to add that changing the timezone is a bit different under CentOS 7. The syntax is as follows to set timezone: # timedatectl set-timezone time_zone
Where time_zone is one of the time zones available. An example would be:# timedatectl set-timezone America/Chicago0
Please sign in to leave a comment.
Comments
6 comments