Re: [chrony-users] Repeated 'refresh'es may cause excessive DNS queries |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Repeated 'refresh'es may cause excessive DNS queries
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Tue, 12 Mar 2024 17:02:34 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710259358; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+/YrmzoxDkVDWQdZCaWMBjUC97tgWW2Tl/zlIT5tvrY=; b=bapDqk7f+RaPatV5clODNjsN5zRE67mDVka7L/+2nAFHcNqs435gr6iD3kFcHDFfJvYehw BF5pRRKHaI0UUfiec3Bwu4bpl/m9SSNFzHA+yyYyZcwclvZyBa2RriElV7yQthFo6loKM6 lUX8dK2vztaO9q8KHIbPeZlO0kXIEWo=
On Tue, Mar 12, 2024 at 04:35:59PM +0100, t.barnewski@xxxxxx wrote:
> STEPS TO REPRODUCE:
> 1) Install a DNS server on machine A (can also be a VM) and configure it to
> always reply with a TTL of 0 for certain domains. This can be accomplished with
> dnsmasq and a hardcoded entry in /etc/hosts for, say, 2.europe.pool.ntp.org:
>
> > cat /etc/hosts
> # HACK for testing: use ptbtime1.ptb.de as source
> 192.53.103.108 2.europe.pool.ntp.org
> [snip]
>
> 2) On machine B, point the local DNS resolver to machine A.
> Install chrony and configure it to use only the source from step 1.
>
> > cat /etc/chrony/chrony.conf
> pool 2.europe.pool.ntp.org minpoll 10 iburst
> [snip]
>
> 3) Repeatedly issue "chronyc refresh" commands on machine B and watch the sparks
> (and the DNS queries) fly.
That seems to be working for me as expected. I see one request per
refresh. Can you please build chronyd with --enable-debug and post the
chronyd -dd output for first few refresh commands?
--
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.