The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNS only server date/time update

Discussion in 'General Discussion' started by bloatedstoat, May 1, 2016.

Tags:
  1. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    78
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    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)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You can sync your server time with the following command:

    Code:
    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.
     
  3. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    78
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    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.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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:

    Code:
    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.
     
    SageBrian and bloatedstoat like this.
  5. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    78
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Thank you Michael, all our servers are now running the same time. Appreciated.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page