aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/networking.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-10-19 21:24:05 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-10-19 21:45:47 +0900
commit503919fcf01d7eb8d550df5c3993aee9a966ba9b (patch)
tree35602643532eac6ab5d5a61a0b2b138fac5dc7b5 /gnu/services/networking.scm
parent119febc2750d9cf733f4f1ecc0b2119a293e39b1 (diff)
downloadguix-503919fcf01d7eb8d550df5c3993aee9a966ba9b.tar.gz
guix-503919fcf01d7eb8d550df5c3993aee9a966ba9b.zip
services: ntp: Default to an address that supports IPv6.
* gnu/services/networking.scm (%ntp-servers): Replace 0.guix.pool.ntp.org with 2.guix.pool.ntp.org. Fixes: <https://issues.guix.gnu.org/71462> Change-Id: I8bf3dc1cec58e7977c5369739b8662f817eeb186
Diffstat (limited to 'gnu/services/networking.scm')
-rw-r--r--gnu/services/networking.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 2d461e9ebc..76563be14f 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -547,11 +547,13 @@ daemon is responsible for allocating IP addresses to its client.")))
;; Within Guix, Leo Famulari <leo@famulari.name> is the administrative contact
;; for this NTP pool "zone".
;; The full list of available URLs are 0.guix.pool.ntp.org,
- ;; 1.guix.pool.ntp.org, 2.guix.pool.ntp.org, and 3.guix.pool.ntp.org.
+ ;; 1.guix.pool.ntp.org, 2.guix.pool.ntp.org, and 3.guix.pool.ntp.org. We
+ ;; use 2.guix.pool.ntp.org as default as it supports IPv6, contrary to the
+ ;; others.
(list
(ntp-server
(type 'pool)
- (address "0.guix.pool.ntp.org")
+ (address "2.guix.pool.ntp.org")
(options '("iburst"))))) ;as recommended in the ntpd manual
(define-record-type* <ntp-configuration>