change ntp server pool

This commit is contained in:
Gilles Mouchet 2024-07-01 06:51:58 +02:00
parent aa8ed2bd0c
commit e8b5dd8060

View File

@ -1,10 +1,10 @@
# Use public servers from the pool.ntp.org project. # Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html). # Please consider joining the pool (http://www.pool.ntp.org/join.html).
#pool 2.pool.ntp.org iburst #pool 2.pool.ntp.org iburst
server 0.ch.pool.ntp.org iburst # https://www.metas.ch/metas/fr/home/fabe/zeit-und-frequenz/time-dissemination.html
server 1.ch.pool.ntp.org iburst server ntp11.metas.ch iburst
server 2.ch.pool.ntp.org iburst server ntp12.metas.ch iburst
server 3.ch.pool.ntp.org iburst server ntp13.metas.ch iburst
# Record the rate at which the system clock gains/losses time. # Record the rate at which the system clock gains/losses time.
driftfile /var/lib/chrony/drift driftfile /var/lib/chrony/drift
@ -13,10 +13,6 @@ driftfile /var/lib/chrony/drift
# if its offset is larger than 1 second. # if its offset is larger than 1 second.
#makestep 1.0 3 #makestep 1.0 3
# Cette directive modifierait l'horloge système si l'ajustement était plus important
# que 1000 secondes, mais seulement lors des dix premières mises à jour horaires.
makestep 1000 10
# Enable kernel synchronization of the real-time clock (RTC). # Enable kernel synchronization of the real-time clock (RTC).
rtcsync rtcsync
@ -29,7 +25,6 @@ rtcsync
# Allow NTP client access from local network. # Allow NTP client access from local network.
#allow 192.168.0.0/16 #allow 192.168.0.0/16
allow 192.168.1.0/24
# Serve time even if not synchronized to a time source. # Serve time even if not synchronized to a time source.
#local stratum 10 #local stratum 10