Debian 11 Bullseye
Sponsored Link

NTP : Configure NTP Server (NTPd)2021/08/17

 
Install NTPd and Configure NTP server for time adjustment. NTP uses 123/UDP.
[1] Install and Configure NTPd.
root@dlp:~#
apt -y install ntp
root@dlp:~#
vi /etc/ntp.conf
# line 23 : comment out default settings and add NTP Servers for your timezone

#pool 0.debian.pool.ntp.org iburst
#pool 1.debian.pool.ntp.org iburst
#pool 2.debian.pool.ntp.org iburst
#pool 3.debian.pool.ntp.org iburst
pool ntp.nict.jp iburst 

# line 51 : add network range you allow to receive time syncing requests from clients

restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
root@dlp:~#
systemctl restart ntp
# verify status

root@dlp:~#
ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp.nict.jp     .POOL.          16 p    -   64    0    0.000   +0.000   0.000
*ntp-k1.nict.jp  .nict.           1 u    7   64    1   14.932   +0.867   0.550
 ntp-b2.nict.go. .NICT.           1 u    2   64    1   20.220   +1.184   0.422
 ntp-b3.nict.go. .NICT.           1 u    2   64    1   20.305   +1.265   0.261
 ntp-a2.nict.go. .NICT.           1 u    -   64    1   15.095   +0.919   0.244
+ntp-a3.nict.go. .NICT.           1 u    3   64    1   15.012   +0.612   0.459
Matched Content