On 2024-02-14, Willy Manga <[email protected]> wrote:
> I'm running ntp-4.2.8pl10p6 on openbsd7.4 .. I saw messages like this one

That's mostly not recommended, openntpd (in base) is generally a better
idea for OpenBSD systems...

> "ntpd[26862]: DNS lookup tempfail"

...though that looks like an openntpd message so you are probably running
it anyway and just have an unused package installed.

> This node is running with IPv6-only.
>
> Since I did not have IPv4, I initially only commented the constraint 
> with IPv4 . But it was not enough.
>
>
> Then I realised that pool.ntp.org doesn't include a AAAA record.

That is ntppool's decision.

> I ended up by commenting the servers line and added several servers close 
> enough .
>
> I posted my question on github [1] and someone advised me to rely on 
> "2.openbsd.pool.ntp.org"
>
> Is it possible the default ntpd.conf file use something like
>
> "servers openbsd.pool.ntp.org" and of course have openbsd.pool.ntp.org 
> looking for IPv6 nodes?

openbsd.pool.ntp.org won't help, that doesn't have AAAA records either.
That DNS zone is nothing to do with OpenBSD - as with pool.ntp.org itself
it is ntppool's decision whether they want to include AAAA.

You need to use one of the "2." pool addresses, e.g.

global:

2.pool.ntp.org

regional:

2.africa.pool.ntp.org
2.asia.pool.ntp.org
2.europe.pool.ntp.org
2.north-america.pool.ntp.org
2.oceania.pool.ntp.org
2.south-america.pool.ntp.org

"vendor":
2.openbsd.pool.ntp.org

Also e.g. time.cloudflare.com lists both A and AAAA records.

-- 
Please keep replies on the mailing list.

Reply via email to