mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
[master] fix spurious error in rndc secroots
3977. [cleanup] "rndc secroots" reported a "not found" error when there were no negative trust anchors set. [RT #37506]
This commit is contained in:
parent
eb6d61d5e0
commit
27174d90cc
3
CHANGES
3
CHANGES
@ -1,3 +1,6 @@
|
||||
3977. [cleanup] "rndc secroots" reported a "not found" error when
|
||||
there were no negative trust anchors set. [RT #37506]
|
||||
|
||||
3976. [bug] When refreshing managed-key trust anchors, clear
|
||||
any cached trust so that they will always be
|
||||
revalidated with the current set of secure
|
||||
|
@ -7891,7 +7891,7 @@ ns_server_dumpsecroots(ns_server_t *server, char *args) {
|
||||
}
|
||||
fprintf(fp, "\n Negative trust anchors:\n\n");
|
||||
result = dns_ntatable_dump(ntatable, fp);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
if (result != ISC_R_SUCCESS && result != ISC_R_NOTFOUND)
|
||||
fprintf(fp, " dumpntatable failed: %s\n",
|
||||
isc_result_totext(result));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user