Feature: Supports setting the maximum TTL value of the response to the client

This commit is contained in:
Nick Peng
2022-04-29 22:29:40 +08:00
parent d30264ed08
commit c561ae2fc5
11 changed files with 51 additions and 6 deletions

View File

@@ -311,6 +311,9 @@ load_service()
config_get rr_ttl_max "$section" "rr_ttl_max" ""
[ -z "$rr_ttl_max" ] || conf_append "rr-ttl-max" "$rr_ttl_max"
config_get rr_ttl_reply_max "$section" "rr_ttl_reply_max" ""
[ -z "$rr_ttl_reply_max" ] || conf_append "rr-ttl-reply-max" "$rr_ttl_reply_max"
config_get log_size "$section" "log_size" "64K"
[ -z "$log_size" ] || conf_append "log-size" "$log_size"