mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +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:
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
|
3976. [bug] When refreshing managed-key trust anchors, clear
|
||||||
any cached trust so that they will always be
|
any cached trust so that they will always be
|
||||||
revalidated with the current set of secure
|
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");
|
fprintf(fp, "\n Negative trust anchors:\n\n");
|
||||||
result = dns_ntatable_dump(ntatable, fp);
|
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",
|
fprintf(fp, " dumpntatable failed: %s\n",
|
||||||
isc_result_totext(result));
|
isc_result_totext(result));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user