All pastes #439913 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-14 16:55 UTC
rendered paste body
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

# You should specify 3, or more, real time sources here. The problem with only
# giving ntpd two time sources is that it has no way of determining which one
# is most likely correct.
#
# You should append 'iburst' to your server lines for quicker initial sync.

server ntp.ubuntu.com iburst
server se.pool.ntp.org iburst
server se.pool.ntp.org iburst
server se.pool.ntp.org iburst

# This is not a real time source. All it does is allow this ntpd to claim to be
# synced, and continue to serve time to others, when the real time sources are
# lost.

server 127.127.1.0
fudge 127.127.1.0 stratum 13

restrict default kod notrap nomodify nopeer noquery

restrict 127.0.0.1 nomodify

keys /etc/ntp.keys
trustedkey 1