]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/templates/default/chrony.conf.erb
imagery: Add OS Local April 2024
[chef.git] / cookbooks / ntp / templates / default / chrony.conf.erb
index 1cae6d797e7687c693432061e52dccbb4a2aa08c..b3948809db4add73ed8bd03dad2f45a7c19d0f88 100644 (file)
@@ -19,7 +19,8 @@ allow 127.0.0.1/32
 allow ::1/128
 
 # Run an initial NTP sync on daemon startup
-initstepslew 30 time.cloudflare.com time.google.com <%= node[:ntp][:servers].join(" ") %>
+# Use a few IPs here to workaround DNSSEC failure if time is wrong: https://github.com/openstreetmap/operations/issues/654
+initstepslew 30 216.239.35.0 216.239.35.4 216.239.35.8 216.239.35.12 time.google.com time.cloudflare.com <%= node[:ntp][:servers].join(" ") %>
 
 <% if node[:lsb][:release].to_f >= 22.04 -%>
 # Use NTP sources found in /etc/chrony/sources.d.