dnsdist: Named Caches - GlobalCyberAlliance/pdns GitHub Wiki

What is a named cache?

A named cache is a generic cache type that, when created by a user, has a user-supplied name associated with it. The reason for the user-supplied name is so that the cache can be referenced when it is not currently within the lexical scope of an executing Lua statement. For example, a named cache could be defined within the Lua configuration file for dnsdist, and can later be modified from dnsdist's Lua console.

Ultimately, a named cache is intentionally generic; its functional purpose, and semantic meaning, is determined by the user.

A named cache is primarily an in-memory cache, that can be proactively populated from a data source, or it can lazily populate its in-memory cache from a data source (throughout this document, this is referred to as binding). The reason for both options, is to support resource-constrained dnsdist setups.