Re: [Pdns-users] Recursor Cache entries per record

2022-11-29 Thread Giovanni Vecchi via Pdns-users
Hi guys, I enabled tracing and I can confirm what you said. Before my test I missed the difference between record cache and packet cache, so I misunderstood. Thanks a lot! On Mon, 28 Nov 2022 at 20:37, Otto Moerbeek via Pdns-users < pdns-users@mailman.powerdns.com> wrote: > Hello > > What Winfr

Re: [Pdns-users] Recursor Cache entries per record

2022-11-28 Thread Otto Moerbeek via Pdns-users
Hello What Winfried says is true, with the note that a few more bits of the query are included in the hash, while some other pats are skipped; e.g. the recursor skips the EDSN ECS and Cookie bits when computing the hash. Also note that while the packet cache is per thread, the other cache (record

Re: [Pdns-users] Recursor Cache entries per record

2022-11-28 Thread abang--- via Pdns-users
Hi Giovanni, As far as I know, the Recursor is exactly doing what you want. IP addresses are not part of the hash. Only the query name is base of the hash. Identical query names are routed to the same thread and thus to the same cache. Winfried Am 28. November 2022 18:37:19 MEZ schrieb Giovan

[Pdns-users] Recursor Cache entries per record

2022-11-28 Thread Giovanni Vecchi via Pdns-users
Hi guys, I'm doing some tests on recursor 4.7.4 and I would some confirmation from you about caching behaviour: I understood that enabling pdns-distributes-queries, cached entries are served only in case of matching query hash, so different clients (with different source ip) will not hit cache for