Update ntp.conf to use the ntpd pool feature.
authorian <ian@FreeBSD.org>
Mon, 2 Jan 2017 15:19:22 +0000 (15:19 +0000)
committerian <ian@FreeBSD.org>
Mon, 2 Jan 2017 15:19:22 +0000 (15:19 +0000)
commitd3c630440ad953cc219b259b3afdd192558b50a8
tree8196a6a22987db20e6131873692810bc5d4d4999
parent3eaa694e96ba7fbdb63833293ae7fcb53d947ea0
Update ntp.conf to use the ntpd pool feature.

Our previous ntp.conf file configured 3 servers from freebsd.pool.ntp.org
using 3 separate 'server' config lines.  That is now replaced with a single
'pool' line which causes ntpd to add multiple servers from the pool.

More than just making the config smaller, the pool feature in ntpd has one
major advantage over configuring 3 separate servers from a pool: if a server
that was added using a 'pool' statement provides bad time (initially or at
some later date), ntpd automatically discards it and configures a new
different server from the pool without needing to be restarted.

These changes also add a 'tos' line to control how many pool servers get
added, a 'restrict source' line that is required to allow ntpd to add new
peers from the pool, and it deletes a 'restrict 127.127.1.0' line that does
nothing and should never have been there (127.127.1.0 is not a valid IP
address, it's a refclock identifier).

Differential Revision: https://reviews.freebsd.org/D9011
etc/ntp.conf