summarylogtreecommitdiffstats
path: root/ntp.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ntp.conf')
-rw-r--r--ntp.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/ntp.conf b/ntp.conf
new file mode 100644
index 000000000000..2ed319bc6983
--- /dev/null
+++ b/ntp.conf
@@ -0,0 +1,29 @@
+# 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
+
+# Associate to Google's smeared NTP pool
+server time1.google.com iburst
+server time2.google.com iburst
+server time3.google.com iburst
+server time4.google.com iburst
+
+# By default, the server allows:
+# - all queries from the local host
+# - only time queries from remote hosts, protected by rate limiting and kod
+restrict default kod limited nomodify nopeer noquery notrap
+restrict 127.0.0.1
+restrict ::1
+
+
+# Location of drift file
+driftfile /var/lib/ntp/ntp.drift
+
+# Enable smearing
+leapsmearinterval 86400
+