[Pdns-dev] Negative Caching

Peter van Dijk peter.van.dijk at netherlabs.nl
Thu Dec 6 12:47:09 CET 2012


Hello Patrick,

On Nov 2, 2012, at 17:10 , Patrick Domack wrote:

> I have been adjusting the source to increase the negative cache size, for when quering against rbl's
> 
> From my stats, it seems to me that the negative cache is not part of the positive cache, but totally different cache area/counters.
> 
> So it seems the real max-cache-size = max-cache-size * 110% (as the negative cache is hard coded at 10% of the max-cache-size currently).
> 
> I adjusted my source, so I could specify the negative cache size as a percentage of the max-cache-size, but as it seems to be different, I'm wondering if my patch (before I submit it in a feature request) should be changed to a negative-cache-size, that would just default to the current behavure.


Concrete numbers are usually better than percentages of other numbers. 

In any case, please submit your patch at wiki.powerdns.com so people can look at it!

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/



More information about the Pdns-dev mailing list