Re: [chrony-users] pool DNS round-robin refresh

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On Wed, Jul 03, 2019 at 06:56:49PM +0200, Youssef Ghorbal wrote:
> MS Name/IP address         Stratum Poll Reach LastRx Last sample
> ===============================================================================
> ^- ntp03           2   8   377    64   +248us[ +248us] +/-   10ms
> ^* ntp01           2   8   377   158    +17us[  +28us] +/- 1633us
> ^- ntp02           2   8   377    36    -36us[  -36us] +/-   12ms
> ^? ntp04           2  10     0   31h  -7955us[ -248us] +/-   14ms
> 
> (ntp04 is dead since 48h now and DNS RR was updated since, DNS
> resolver cache was correctly cleard)
> 
>  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?

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.

-- 
Miroslav Lichvar

-- 
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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/