Re: [Pdns-users] Recursor Cache Sizing: Is more always better?

2023-09-09 Thread Otto Moerbeek via Pdns-users
On Sat, Sep 09, 2023 at 11:20:30AM +0200, Christoph via Pdns-users wrote: > > Agrreed, I think that general rules are hard to give for cache sizing, > > as each site and its users are different. Do remember that the packet > > cache was changed in 4.9.0, it is now shared between threads. This mean

Re: [Pdns-users] Recursor forwarder DoT configuration

2023-09-09 Thread Christoph via Pdns-users
If you need DNSEC validation you must use recursor, dnsdist cannot do that. Others might reflect on the dnsdist cache performance and hit ratio's compared to recursor's packet cache and/or record cache. Do note that dnsdist cache is more like the recursor's packet cache. Thanks for confirming

Re: [Pdns-users] Recursor Cache Sizing: Is more always better?

2023-09-09 Thread Christoph via Pdns-users
Agrreed, I think that general rules are hard to give for cache sizing, as each site and its users are different. Do remember that the packet cache was changed in 4.9.0, it is now shared between threads. This means that its performance and behaviour wrt hit ratio etc did change as well. The differe

Re: [Pdns-users] Recursor forwarder DoT configuration

2023-09-09 Thread Otto Moerbeek via Pdns-users
On Sat, Sep 09, 2023 at 08:07:02AM +0200, Christoph via Pdns-users wrote: > > I do wonder about the purpose of the recursor in the > > > > recursor -> dnsdist -> upstream-recursive > > > > case. You might as well use > > > > dnsdist -> upstream-recursive > > > > With a caching dnsdist. > > Unl

Re: [Pdns-users] Recursor Cache Sizing: Is more always better?

2023-09-09 Thread Otto Moerbeek via Pdns-users
On Sat, Sep 09, 2023 at 09:59:19AM +0200, Winfried via Pdns-users wrote: > Hi Christoph, > > My recommendation is to limit the TTL to 12 or 6 hours and find out how many > cache entries are created during this time. Increase that by 50% and that's > your value. You'll see that it doesn't requir

Re: [Pdns-users] Recursor Cache Sizing: Is more always better?

2023-09-09 Thread Winfried via Pdns-users
Hi Christoph, My recommendation is to limit the TTL to 12 or 6 hours and find out how many cache entries are created during this time. Increase that by 50% and that's your value. You'll see that it doesn't require that much memory space. Winfried Am 9. September 2023 09:15:04 MESZ schrieb Chr

[Pdns-users] Recursor Cache Sizing: Is more always better?

2023-09-09 Thread Christoph via Pdns-users
Hi, if you have 20 or 100 GB of free RAM what is a good approach to choose the different Recursor's cache sizes? Is larger always better or is there a sweet spot between cache size, cache lookup time, cache management overhead and CPU usage? How does upstream latency fit into the equation? In