From 64421caa7ffee1ca772e7849f44fc371dc68d4e4 Mon Sep 17 00:00:00 2001 From: Marc Brooks Date: Wed, 26 Feb 2025 15:10:56 -0600 Subject: [PATCH] Add more public NTP servers Using the [this comprehensive list](https://gist.github.com/mutin-sa/eea1c396b1e610a2da1e5550d94b0453) Added pool.ntp.org at the top since it's globally distributed and isolated from specific manufacturers (and are what most routers default use). Added the other major network providers Google and AWS Added Windows to pair with Apple --- ntp.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ntp.go b/ntp.go index 39ea7af..2a38ecd 100644 --- a/ntp.go +++ b/ntp.go @@ -22,8 +22,12 @@ const ( var ( timeSyncRetryInterval = 0 * time.Second defaultNTPServers = []string{ + "pool.ntp.org", "time.cloudflare.com", + "time.google.com", + "time.aws.com", "time.apple.com", + "time.windows.com", } )