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:
@@ -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);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user