Created
October 20, 2014 21:12
-
-
Save rashkur/132255b2abba7f1c35c4 to your computer and use it in GitHub Desktop.
This file contains 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
driftfile /var/lib/ntp/ntp.drift | |
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 | |
server 127.127.1.0 # local clock | |
fudge 127.127.1.0 stratum 14 | |
# Specify one or more NTP servers. Order could be like this: | |
# The ones from your network, the ones from your ISP, random stuff off the internet. | |
server ntp1.m-online.net iburst burst minpoll 4 maxpoll 8 prefer | |
server ntp2.m-online.net iburst burst minpoll 4 maxpoll 8 | |
server de.pool.ntp.org iburst dynamic | |
# By default, exchange time with everybody, but don't allow configuration. | |
restrict -4 default kod notrap nomodify nopeer noquery | |
restrict -6 default kod notrap nomodify nopeer noquery | |
# Local users may interrogate the ntp server more closely. | |
restrict 127.0.0.1 | |
restrict ::1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment