1# This is the most basic ntp configuration file 2# The driftfile must remain in a place specific to this 3# machine - it records the machine specific clock error 4driftfile /var/lib/ntp/drift 5# This should be a server that is close (in IP terms) 6# to the machine. Add other servers as required. 7# Unless you un-comment the line below ntpd will sync 8# only against the local system clock. 9# 10# server time.server.example.com 11# 12# Using local hardware clock as fallback 13# Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself 14server 127.127.1.0 15fudge 127.127.1.0 stratum 14 16# Defining a default security setting 17restrict -4 default notrap nomodify nopeer noquery 18restrict -6 default notrap nomodify nopeer noquery 19 20restrict 127.0.0.1 # allow local host 21restrict ::1 # allow local host 22