Conf ntp

Published 09-01-2015 09:58:25

#Pour ajout au pool fr.pool.ntp.org

L’ensemble des informations se retouve sur la page officielle ici.

# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

# Entre 4 et 7 serveurs obligatoires
server serveur.public.1
server serveur.public.3
server serveur.public.3
server serveur.public.4

# Empecher les requêtes de gestion
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery

# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict -6 ::1