Bug 264088 - /etc/ntp.conf: Support IPv6-only installations (change default pool to 2.freebsd.pool.ntp.org)
Summary: /etc/ntp.conf: Support IPv6-only installations (change default pool to 2.free...
Status: Closed DUPLICATE of bug 270536
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Cy Schubert
URL: https://reviews.freebsd.org/D35268
Keywords: easy, ipv6, needs-qa
Depends on:
Blocks:
 
Reported: 2022-05-19 22:38 UTC by Mallory
Modified: 2023-05-10 21:09 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback? (cy)
koobs: mfc-stable13?
koobs: mfc-stable12?


Attachments
Patch for usr.sbin/ntp/ntpd/ntp.conf replacing 0.freebsd.pool.ntp.org with 2.freebsd.pool.ntp.org (433 bytes, text/plain)
2022-05-19 22:38 UTC, Mallory
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mallory 2022-05-19 22:38:47 UTC
Created attachment 234042 [details]
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.
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2022-05-20 04:10:54 UTC
Looks good.

See https://reviews.freebsd.org/D35268 for proposed patch.
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2022-05-20 15:22:37 UTC
Interestingly, {0,1,3}.{freebsd,fedora,debian,ubuntu}.pool.ntp.org support only IPv4. While 2.{freebsd,fedora,debian,ubuntu}.pool.ntp.org all support IPv4 and IPv6.
Comment 3 Mallory 2022-12-23 00:36:34 UTC
@Cy Schubert Did you hear back from the ntp.org folks?
Comment 4 Cy Schubert freebsd_committer freebsd_triage 2022-12-23 00:59:24 UTC
No. I'll ping them again.
Comment 5 Mallory 2023-05-10 21:09:30 UTC

*** This bug has been marked as a duplicate of bug 270536 ***