On 2019-07-22 11:27, Miroslav Lichvar wrote:
> On Mon, Jul 22, 2019 at 12:05:41AM +0200, Thomas Hedberg wrote:
>> Hi Hal
>>
>> What about a http lookup using curl or something similar at
>> https://www.ntppool.org/scores/X.X.X.X/log?limit=1&monitor=* ?
>>
>> It will give you the current score of the IP and probably an error if the
>> IP is not in the pool anymore.
> 
> That might work, but I'm not sure if the admins would be happy with
> millions of clients periodically making HTTP requests to their
> servers. Something with DNS might be cheaper, but probably still a
> significant burden on the resources.
> 
> When a server is removed from the pool, I think the best thing to do
> is to stop responding. Most clients will switch to another pool server

Always provide with score as a TXT record looks better to me.
Also, it would be nice to flag there whether the server is pool member
and what pool(s) it belongs to.
This set of information will allow to easily automate management of
upstream servers list.

> within few polling intervals. The rest will not bother to check a URL
> or special DNS name to see if the server is still in the pool.
> 

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to