mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
[master] [rt37069] update NTA limit to a week
3940. [func] "rndc nta" now allows negative trust anchors to be set for up to one week. [RT #37069]
This commit is contained in:
@@ -9921,8 +9921,8 @@ ns_server_nta(ns_server_t *server, char *args, isc_buffer_t *text) {
|
||||
CHECK(result);
|
||||
}
|
||||
|
||||
if (ntattl > 86400) {
|
||||
msg = "NTA lifetime cannot exceed one day";
|
||||
if (ntattl > 604800) {
|
||||
msg = "NTA lifetime cannot exceed one week";
|
||||
CHECK(ISC_R_RANGE);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user