Re: [chrony-users] pool DNS round-robin refresh |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] pool DNS round-robin refresh
- From: Youssef Ghorbal <youssef.ghorbal@xxxxxxxxx>
- Date: Thu, 4 Jul 2019 09:40:31 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=sXL4Sv5QIxkLDm+jmT4Xl2gSIEGKQpPZYyxSPxDP2ng=; b=MNXlGVB+4K+d/Q4SrcGrJXvLqFVuQJf/xr4GIbmuPqospb8wFXsMZXfzoiIWDy7sJz 5fkXKt71N1JZ+Nzitz83lQee4/PvfePtoIpCpuHcSs7OFvOeDmtQf1+IF1tcbeZVwHPY GRDvVFCGbrQzXx33BTFhNCHc56wTqMUznxRE3wKwDdN7EQyx7e8nVDlAp/rqRoiXxmUl Jb6k5MbagFGFdDUdZIlL3lMISRTTrsXVleRzvaRH5HYO8BrwRxMply/6ZN8BiG4+aKdl pDxuQuapuKtmcK608X1Qo5AzFQup8645jceM+mtCVONURYH4CXuwP7ciwuK2A/irPprd TVZg==
> > In what case exactly (and when), does chrony is supposed to refresh
> > the list of IPs in a defined pool ?
>
> Immediately when it becomes unreachable, or falseticker, but there is
> a rate limit on how often it can query DNS (three times per hour or
> so).
>
> One thing that may not be obvious. chronyd will never drop a source.
> It will only replace it with a new one when available. Are you sure
> the pool name resolves to the new IP address?
You are right pointing out the fact that chrony will never drop a
source. As a matter of fact, my pool actually shrinked going from 4
nodes to 3 (ntp04 was simply removed and not replaced by anything
else.)
I guess that in this case, chrony will reissue a DNS request will get
3 addresses that it already has and will not do anything regarding the
list.
> If you compile chronyd with --enable-debug and run it with -d -d, you
> should see when it's trying to replace the server and what addresses
> the name was resolved to.
I'll try that. Thank you.
Youssef
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.