[Bug 264088] [PATCH] Update /etc/ntp.conf to support IPv6-only installations (change default pool to 2.freebsd.pool.ntp.org)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 May 2022 22:38:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264088

            Bug ID: 264088
           Summary: [PATCH] Update /etc/ntp.conf to support IPv6-only
                    installations (change default pool to
                    2.freebsd.pool.ntp.org)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: mallorya@fastmail.com

Created attachment 234042
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234042&action=edit
Patch for usr.sbin/ntp/ntpd/ntp.conf replacing 0.freebsd.pool.ntp.org with
2.freebsd.pool.ntp.org

The current default pool is `0.freebsd.pool.ntp.org` which is an IPv4-only
service. The `0.*`, `1.*`, and `3.*` pools are IPv4-only.

The `2.*` pool supports both IPv4 and IPv6. This behavior can be verified with
`host`:

```
% host 0.freebsd.pool.ntp.org
0.freebsd.pool.ntp.org has address 185.216.231.116
0.freebsd.pool.ntp.org has address 74.6.168.72
0.freebsd.pool.ntp.org has address 129.250.35.250
0.freebsd.pool.ntp.org has address 216.229.0.50
% host 2.freebsd.pool.ntp.org
2.freebsd.pool.ntp.org has address 104.156.229.103
2.freebsd.pool.ntp.org has address 50.205.244.37
2.freebsd.pool.ntp.org has address 162.248.241.94
2.freebsd.pool.ntp.org has address 65.108.70.240
2.freebsd.pool.ntp.org has IPv6 address 2001:19f0:b400:182d::123
2.freebsd.pool.ntp.org has IPv6 address 2001:418:3ff::53
2.freebsd.pool.ntp.org has IPv6 address 2607:f8f8:721:e301::123
2.freebsd.pool.ntp.org has IPv6 address 2001:470:1f0f:3e0:c352:4a66:89c8:f9b9
```

Hopefully this patch will save a few others running an IPv6-only server an hour
of investigating why `ntpd` isn't working.

-- 
You are receiving this mail because:
You are the assignee for the bug.