using attach-cache in options causes the cache to be flushed on reload
The attach-cache
option can be specified in the options
block with an arbitrary name. This causes all views on the system to share the same cache. However, if the name chosen does not match that of the first defined view, then rndc reload
or reconfig
will destroy the existing cache and create a new, empty one.
The cache should be preserved across reload/reconfig.