Mukund Sivaraman muks at
Thu Apr 18 14:12:59 UTC 2019

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
> memory.

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.


More information about the bind-users mailing list