NTP Server : Configure NTP Server (NTPsec)2025/08/11 |
|
Install NTPsec and Configure NTP server for time adjustment. NTP uses 123/UDP. |
|
| [1] | Install and Configure NTPsec. |
|
root@dlp:~#
apt -y install ntpsec
root@dlp:~#
vi /etc/ntpsec/ntp.conf # line 25 : if you use your own NTP servers only and also # pool entries are a few, change number of value below or comment out the line #tos minclock 4 minsane 3 # line 34 : 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
root@dlp:~#
systemctl restart ntpsec
# verify status root@dlp:~# ntpq -p
remote refid st t when poll reach delay offset jitter
=======================================================================================================
ntp.nict.jp .POOL. 16 p - 256 0 0.0000 0.0000 0.0001
-ntp-a3.nict.go.jp .NICT. 1 u 14 64 1 17.3741 -1.5622 1.2284
+ntp-b2.nict.go.jp .NICT. 1 u 14 64 1 20.8531 -0.3837 1.1375
-ntp-a2.nict.go.jp .NICT. 1 u 14 64 1 17.6750 -1.4249 1.2998
*ntp-k1.nict.jp .NICT. 1 u 14 64 1 13.0115 0.5645 0.8228
+ntp-b3.nict.go.jp .NICT. 1 u 14 64 1 20.6866 -0.0789 1.1834
2001:ce8:78::2 .INIT. 16 u - 64 0 0.0000 0.0000 0.0001
ntp-a2.nict.go.jp .INIT. 16 u - 64 0 0.0000 0.0000 0.0001
ntp-a3.nict.go.jp .INIT. 16 u - 64 0 0.0000 0.0000 0.0001
|
| Sponsored Link |