2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

[master] shorten default servfail-ttl

4239.	[func]		Changed default servfail-ttl value to 1 second from 10.
			Also, the maximum value is now 30 instead of 300. [RT #37556]
This commit is contained in:
Evan Hunt
2015-10-17 13:44:01 -07:00
parent ffafab1328
commit 90174e64f4
5 changed files with 11 additions and 8 deletions

View File

@@ -4107,8 +4107,8 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewlist,
result = ns_config_get(maps, "servfail-ttl", &obj);
INSIST(result == ISC_R_SUCCESS);
fail_ttl = cfg_obj_asuint32(obj);
if (fail_ttl > 300)
fail_ttl = 300;
if (fail_ttl > 30)
fail_ttl = 30;
dns_view_setfailttl(view, fail_ttl);
/*