Drop lazy_cache_reply_ttl

This commit is contained in:
sbwml 2022-04-08 22:08:08 +08:00
parent 5b434631f2
commit bd49929c50

View File

@ -8,7 +8,6 @@ plugin:
args: args:
entry: entry:
- _no_ecs - _no_ecs
- lazy_cache
- _prefer_ipv4 - _prefer_ipv4
- _single_flight - _single_flight
- main_sequence - main_sequence
@ -55,13 +54,13 @@ plugin:
- modify_ttl - modify_ttl
- tag: 'mem_cache' - tag: mem_cache
type: 'cache' type: cache
args: args:
size: ${{ uci -q get mosdns.mosdns.cache_size }} size: ${{ uci -q get mosdns.mosdns.cache_size }}
- tag: 'modify_ttl' - tag: modify_ttl
type: 'ttl' type: ttl
args: args:
minimal_ttl: ${{ uci -q get mosdns.mosdns.minimal_ttl }} minimal_ttl: ${{ uci -q get mosdns.mosdns.minimal_ttl }}
maximum_ttl: ${{ uci -q get mosdns.mosdns.maximum_ttl }} maximum_ttl: ${{ uci -q get mosdns.mosdns.maximum_ttl }}
@ -85,12 +84,6 @@ plugin:
upstream: upstream:
- addr: ${{ uci -q get mosdns.mosdns.dns_forward }} - addr: ${{ uci -q get mosdns.mosdns.dns_forward }}
- tag: lazy_cache
type: cache
args:
size: 512000
lazy_cache_ttl: 259200
- tag: query_is_local_domain - tag: query_is_local_domain
type: query_matcher type: query_matcher
args: args: