2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Merge branch 'u/fanf2/rndc-validation-status-noflush' into 'master'

Do not flush the cache for `rndc validation status`

See merge request isc-projects/bind9!2462
This commit is contained in:
Ondřej Surý
2019-10-31 15:19:57 -04:00
3 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
5312. [bug] Do not flush the cache for `rndc validation status`.
Thanks to Tony Finch. [GL !2462]
5311. [cleanup] Include all views in output of `rndc validation status`.
Thanks to Tony Finch. [GL !2461]

View File

@@ -11081,9 +11081,9 @@ named_server_validation(named_server_t *server, isc_lex_t *lex,
if ((ptr != NULL && strcasecmp(ptr, view->name) != 0)
|| strcasecmp("_bind", view->name) == 0)
continue;
CHECK(dns_view_flushcache(view, false));
if (set) {
CHECK(dns_view_flushcache(view, false));
view->enablevalidation = enable;
changed = true;
} else {

View File

@@ -1078,6 +1078,8 @@
<para>
Enable, disable, or check the current status of
DNSSEC validation. By default, validation is enabled.
The cache is flushed when validation is turned on or off
to avoid using data that might differ between states.
</para>
</listitem>
</varlistentry>