On Thu, Apr 18, 2019 at 04:02:27PM +0200, Jakob Dhondt wrote:
> Hi everyone,
> just a quick question about the max-cache-size option in bind. I
> couldn't find any details online.
> I was wondering if this option only includes DNS queries/responses
> getting cached or anything else as well, e.g. RPZ zones being kept in
The max-cache-size setting is a guide to the in-memory cache database
code used by BIND to try to keep the size of its cache within a certain
RPZ zones are not part of the cache - they are ordinary individual
zones. On resolvers, there is additionally a per-view RPZ summary
datastructure that's built using the RPZ zones' contents, which provides
a way to match a query against RPZ triggers optimally. None of this is
affected by the max-cache-size setting.
On 18.04.19 16:13, Tony Finch wrote:
> Jakob Dhondt <[hidden email]> wrote:
>> I was wondering if this option only includes DNS queries/responses
>> getting cached or anything else as well, e.g. RPZ zones being kept in
> RPZ counts as authoritative data, so I believe it isn't included in the
> cache size.