]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: refresh IP addresses periodically
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 20 Jun 2023 14:23:34 +0000 (16:23 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 21 Jun 2023 09:28:42 +0000 (11:28 +0200)
commitb86c50bb9f9062e1a02a8f35bd22b079dd5fdda9
tree584a46861de947431cb57616a9aecee123c2539e
parent36f9b24dfed2f16ba4929efcb62e658925cdc8aa
ntp: refresh IP addresses periodically

Refresh NTP sources specified by hostname periodically (every 2 weeks
by default) to avoid long-running instances using a server which is no
longer intended for service, even if it is still responding correctly
and would not be replaced as unreachable, and help redistributing load
in large pools like pool.ntp.org. Only one source is refreshed at a time
to not interrupt clock updates if there are multiple selectable servers.

The refresh directive configures the interval. A value of 0 disables
the periodic refreshment.

Suggested-by: Ask Bjørn Hansen <ask@develooper.com>
conf.c
conf.h
doc/chrony.conf.adoc
ntp_sources.c
test/simulation/147-refresh