Trace: ntp

ntp

This is an old revision of the document!


Back  
 Next

ntp

I remember looking at this circa 2016 - 2021 and letting go at that time, crony had just been released and systemd was still relatively new at that time.

systemd commands

  • sudo systemctl status systemd-timesyncd
    • The default configuration is shown in /etc/systemd/timesyncd.conf (All the defaults are shown commented out)
    • Copy the default configuration in /etc/systemd/timesyncd.conf to /etc/systemd/timesyncd.conf.d/timesyncd.conf and modify options in /etc/systemd/timesyncd.conf.d/timesyncd.conf
  • timedatectl timesync-status

ntp servers

ntp servers can be checked using the ntpdate command, which can be loaded in Debian with sudo apt install ntpsec-ntpdate Ranked by testing with sudo ntpdate -q {ntp servername/ip}

  • server 0.au.pool.ntp.org
  • server 1.au.pool.ntp.org
  • server 2.au.pool.ntp.org
  • server 3.au.pool.ntp.org
  • nets.org.sg
/app/www/public/data/attic/docker_notes/ntp.1762654011.txt.gz · Last modified: 2025-11-09 Sun wk45 10:06
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International