Created
January 18, 2024 16:39
-
-
Save gildas-ld/71858fd6e03e17155ef46d6e4e9abaaf to your computer and use it in GitHub Desktop.
ntp.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Please consider joining the pool: | |
# | |
# http://www.pool.ntp.org/join.html | |
# | |
# For additional information see: | |
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon | |
# - http://support.ntp.org/bin/view/Support/GettingStarted | |
# - the ntp.conf man page | |
# NTP Servers | |
server 0.arch.pool.ntp.org iburst | |
server 1.arch.pool.ntp.org iburst | |
server 2.arch.pool.ntp.org iburst | |
server 3.arch.pool.ntp.org iburst | |
server 0.fr.pool.ntp.org iburst | |
server 1.fr.pool.ntp.org iburst | |
server 2.fr.pool.ntp.org iburst | |
server 3.fr.pool.ntp.org iburst | |
statsdir /var/log/ntpstats/ | |
logconfig -syncstatus | |
# 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 | |
# By default, the server allows: | |
# - all queries from the local host | |
tos orphan 15 | |
restrict 127.0.0.1 | |
# nomodify notrap | |
# | |
# restrict -6 ::1 nomodify notrap | |
restrict default kod limited nomodify notrap nopeer noquery | |
# restrict -6 default kod limited nomodify notrap nopeer noquery | |
# Locations of drift, log and leap-seconds.list files | |
driftfile /var/lib/ntp/ntp.drift | |
logfile /var/log/ntpstats/ntp.log | |
leapfile /var/lib/ntp/leap-seconds.list | |
interface listen eth1 | |
interface listen lo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment