From 48976cacce73340a1fdbe072f60e5dc292459799 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 24 Jan 2024 10:56:19 +0200 Subject: [PATCH] chrony/sources.d: prefer ISP and CF The ISP should be closest server to sync to and Cloudflare is anycast with potentially lower stratum than the other nts servers. 'nts' implies 'require' and 'trust' already and other servers get picked over lower stratum although higher distance. --- etc/chrony/sources.d/dna-moi.sources | 2 +- etc/chrony/sources.d/elisa.sources | 6 +++--- etc/chrony/sources.d/hetzner.sources | 2 +- etc/chrony/sources.d/nts-servers.sources | 2 +- etc/chrony/sources.d/telia.sources | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/etc/chrony/sources.d/dna-moi.sources b/etc/chrony/sources.d/dna-moi.sources index 01c07a63..ecf00103 100644 --- a/etc/chrony/sources.d/dna-moi.sources +++ b/etc/chrony/sources.d/dna-moi.sources @@ -1,2 +1,2 @@ # DNA & Moi NTP server, no idea on smearing, I hope not -pool ntp.dnainternet.fi maxsources 3 iburst +pool ntp.dnainternet.fi maxsources 3 iburst prefer diff --git a/etc/chrony/sources.d/elisa.sources b/etc/chrony/sources.d/elisa.sources index 7144e847..1edc90bd 100644 --- a/etc/chrony/sources.d/elisa.sources +++ b/etc/chrony/sources.d/elisa.sources @@ -1,4 +1,4 @@ # Elisa NTP servers, no idea on smearing, I hope not -server ntp1.kolumbus.fi iburst -server ntp2.kolumbus.fi iburst -server ntp.saunalahti.fi iburst +server ntp1.kolumbus.fi iburst prefer +server ntp2.kolumbus.fi iburst prefer +server ntp.saunalahti.fi iburst prefer diff --git a/etc/chrony/sources.d/hetzner.sources b/etc/chrony/sources.d/hetzner.sources index 5d42afd5..e447cabd 100644 --- a/etc/chrony/sources.d/hetzner.sources +++ b/etc/chrony/sources.d/hetzner.sources @@ -1,2 +1,2 @@ # Hetzner.de NTP servers -pool ntp.hetzner.de iburst maxsources 3 +pool ntp.hetzner.de iburst maxsources 3 prefer diff --git a/etc/chrony/sources.d/nts-servers.sources b/etc/chrony/sources.d/nts-servers.sources index 376a2b28..6f98704c 100644 --- a/etc/chrony/sources.d/nts-servers.sources +++ b/etc/chrony/sources.d/nts-servers.sources @@ -14,7 +14,7 @@ # NOTE: NTS support requires Chrony 4.0 or newer! # Cloudflare NTS, anycast, works probably anywhere. No leap second smearing. -pool time.cloudflare.com maxsources 2 iburst nts +pool time.cloudflare.com maxsources 2 iburst nts prefer # Finland, https://ntp.miuku.net server ntp.miuku.net iburst nts diff --git a/etc/chrony/sources.d/telia.sources b/etc/chrony/sources.d/telia.sources index db7a195a..bf45a1ca 100644 --- a/etc/chrony/sources.d/telia.sources +++ b/etc/chrony/sources.d/telia.sources @@ -1,2 +1,2 @@ # Telia NTP servers, no idea on smearing, I hope not -pool ntp.inet.fi iburst maxsources 3 +pool ntp.inet.fi iburst maxsources 3 prefer