mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 00:25:29 +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:
3
CHANGES
3
CHANGES
@@ -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`.
|
5311. [cleanup] Include all views in output of `rndc validation status`.
|
||||||
Thanks to Tony Finch. [GL !2461]
|
Thanks to Tony Finch. [GL !2461]
|
||||||
|
|
||||||
|
@@ -11081,9 +11081,9 @@ named_server_validation(named_server_t *server, isc_lex_t *lex,
|
|||||||
if ((ptr != NULL && strcasecmp(ptr, view->name) != 0)
|
if ((ptr != NULL && strcasecmp(ptr, view->name) != 0)
|
||||||
|| strcasecmp("_bind", view->name) == 0)
|
|| strcasecmp("_bind", view->name) == 0)
|
||||||
continue;
|
continue;
|
||||||
CHECK(dns_view_flushcache(view, false));
|
|
||||||
|
|
||||||
if (set) {
|
if (set) {
|
||||||
|
CHECK(dns_view_flushcache(view, false));
|
||||||
view->enablevalidation = enable;
|
view->enablevalidation = enable;
|
||||||
changed = true;
|
changed = true;
|
||||||
} else {
|
} else {
|
||||||
|
@@ -1078,6 +1078,8 @@
|
|||||||
<para>
|
<para>
|
||||||
Enable, disable, or check the current status of
|
Enable, disable, or check the current status of
|
||||||
DNSSEC validation. By default, validation is enabled.
|
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>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Reference in New Issue
Block a user