Client NTP
Alaminux Linux / Rocky Linux / Centos 8
Coté client :
dnf install chrony ; systemctl enable chronyd
On remplace le serveur NTP standard par celui de Behostings / Diogenius.
Pool NTP standard : pool 2.almalinux.pool.ntp.org iburst
NTP Behostings : server ntp.dgnus.net iburst
sed -i -e '/ iburst/d' /etc/chrony.conf
echo "# server ntp Behostings - Diogenius" >> /etc/chrony.conf
echo "server ntp.dgnus.net iburst" >> /etc/chrony.conf
systemctl restart chronyd ; chronyc sources
# systemctl restart chronyd ; chronyc sourcesMS Name/IP address         Stratum Poll Reach LastRx Last sample===============================================================================rdns.dgnus.net                0   6     0     -     +0ns[   +0ns] +/-    0ns
Ou manuellement :
edit :
nano /etc/chrony.conf
Commenter la pool ntp standard et ajouter le nouveau serveur : server ntp.dgnus.net iburst
systemctl restart chronyd ; chronyc sources