The attach-cache option is used to configure cache-sharing between views.
By default, each view has its own unique cache. When using the attach-cache option, you can specify a name for the cache that named creates for a view. If multiple views share the same cache name, then as the additional views are created, instead of creating a new cache for each, named links the views to the same cache.
See the Administrator Reference Manual (ARM
) for more detail.
However, caches can only be shared if they have identical policies. Here are the settings that, if inconsistent between two caches with the same name, will result in named failing to start :
- dnssec-validation (note that this is only effective with trust anchors and/or DLV configured)
An error will be logged and named will fail to start if attach-cache is used to configure cache-sharing between views with different cache policies. Here is an example of this type of failure:
03-Dec-2012 12:15:47.231 views internal-only and external can't share the cache due to configuration parameter mismatch
03-Dec-2012 12:15:47.231 loading configuration: failure
03-Dec-2012 12:15:47.231 exiting (due to fatal error)
Administrators are advised that mismatched cache policies will not be detected by named-checkconf.
© 2001-2017 Internet Systems ConsortiumFor assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.