On Thu, Feb 3, 2011 at 20:39 UTC, Vincent Zweije <[email protected]> wrote:
> On Thu, Feb 03, 2011 at 04:18:39PM +0000, Dave Hart wrote:
>
> ||  In my view, it would be good for ntpd to keep track of the hostname
> ||  originally used to configure the association and (at least by default)
> ||  use leftover alternate addresses or re-resolve the name after the
> ||  association becomes unreachable.
>
> Wouldn't it be better to re-resolve when the DNS record TTL expires?
> Provided the resolver library gives access to the TTL, of course.

It doesn't, in our case.  ntpd name resolution is built on
getaddrinfo() which provides an answer but not a time remaining.
Moreover, it's risky to re-resolve before using all addresses, or you
might end up stuck using only the first (few) of the addresses.

Anyway, this is a detail of an imaginary capability.  We can hash out
a solution once ntpd actually re-resolves non-pool hostnames.

Cheers,
Dave Hart
_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to