Ubuntu 24.04
Sponsored Link

NTP Server : Configure NTP Client2024/04/26

Configure NTP Client.
NTP Client [systemd-timesyncd.service] is running by default on Ubuntu, so it's easy to set NTP Client.
By the way, it's also possible to use NTPsec or Chrony as a NTP Client.
If you use them, simply set only NTP server to sync time, do not set permission to receive time sync requests from other Hosts.
[1] Configure [systemd-timesyncd.service].
systemctl status systemd-timesyncd

*  systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled>
     Active: active (running) since Fri 2024-04-26 05:52:41 UTC; 55s ago
       Docs: man:systemd-timesyncd.service(8)
   Main PID: 591 (systemd-timesyn)
     Status: "Idle."
      Tasks: 2 (limit: 4612)
     Memory: 1.4M (peak: 2.0M)
        CPU: 27ms
     CGroup: /system.slice/systemd-timesyncd.service
             +-- 591 /usr/lib/systemd/systemd-timesyncd

vi /etc/systemd/timesyncd.conf
# add to last line : set NTP server for your timezone

systemctl restart systemd-timesyncd
timedatectl timesync-status

       Server: (dlp.srv.world)
Poll interval: 4min 16s (min: 32s; max 34min 8s)
         Leap: normal
      Version: 4
      Stratum: 2
    Reference: 3DCD7882
    Precision: 1us (-24)
Root distance: 11.184ms (max: 5s)
       Offset: -296us
        Delay: 192us
       Jitter: 343us
 Packet count: 4
    Frequency: +1.372ppm
Matched Content