]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
examples: improve chrony.conf examples
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 11 Jun 2025 12:53:47 +0000 (14:53 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 11 Jun 2025 13:06:15 +0000 (15:06 +0200)
Add a note that three servers is the generally recommended minimum for
an NTP client to be able to detect a falseticker. Mention that the pool
directive uses four servers. Update the links to the pool join page and
list of public servers.

examples/chrony.conf.example1
examples/chrony.conf.example2
examples/chrony.conf.example3

index 5e93ea75698f465a20cfb48d76c1c967c087a971..f822813bd588ab673bf8dcfac7d375207bc992a2 100644 (file)
@@ -1,4 +1,4 @@
-# Use public NTP servers from the pool.ntp.org project.
+# Use four public NTP servers from the pool.ntp.org project.
 pool pool.ntp.org iburst
 
 # Record the rate at which the system clock gains/losses time.
index 03e7d47b9a130dc0076ce0efcf4ef05771c8fff6..a257f54c0a6719a2ac1aa75c9727bace1b2b1c3f 100644 (file)
@@ -1,5 +1,10 @@
-# Use public servers from the pool.ntp.org project.
-# Please consider joining the pool (https://www.pool.ntp.org/join.html).
+# Note: The general recommendation for an NTP client is to have at least
+# three NTP servers to be able to detect one server providing incorrect
+# time (falseticker).
+
+# Use four public NTP servers from the pool.ntp.org project. If this
+# host has a static public IP address, please consider joining the pool:
+# https://www.ntppool.org/join.html
 pool pool.ntp.org iburst
 
 # Record the rate at which the system clock gains/losses time.
index 8d895d04590b02609a39feccff0a7f1e109d0ee6..01eaff1c2c45f7b207900239baf091cda365362a 100644 (file)
 #######################################################################
 ### SPECIFY YOUR NTP SERVERS
 # Most computers using chrony will send measurement requests to one or
-# more 'NTP servers'.  You will probably find that your Internet Service
+# more NTP servers.  The general recommendation is to have at least
+# three NTP servers to be able to detect one server providing incorrect
+# time (falseticker).  You will probably find that your Internet Service
 # Provider or company have one or more NTP servers that you can specify.
 # Failing that, there are a lot of public NTP servers.  There is a list
-# you can access at http://support.ntp.org/bin/view/Servers/WebHome or
+# you can access at https://support.ntp.org/bin/view/Servers/WebHome or
 # you can use servers from the pool.ntp.org project.
 
 ! server ntp1.example.net iburst