mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
when the attach-cache option is used in the options block
with an arbitrary name, it causes all views to use the same
cache. however, previously, this could cause the cache to be
deleted and a new cache created every time the server was
reconfigured. this did *not* occur when attach-cache was
used at the view level to refer back to another view's cache.
in this commit we correct the problem by checking for
pre-existing caches during reconfiguration, and moving
them from the old server cache list to the new cache list
before cleaning up and freeing the old cache list.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ans2 | ||
| ans3 | ||
| ans8 | ||
| ans10 | ||
| ns1 | ||
| ns4 | ||
| ns5 | ||
| ns6 | ||
| ns7 | ||
| ns9 | ||
| prereq.sh | ||
| setup.sh | ||
| tests.sh | ||
| tests_sh_resolver.py | ||