We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d9eed commit c255565Copy full SHA for c255565
1 file changed
config/dnscrypt-proxy.toml
@@ -202,27 +202,32 @@ block_ipv6 = true
202
203
## Enable a DNS cache to reduce latency and outgoing traffic
204
205
-cache = false
+cache = true
206
207
208
## Cache size
209
210
-cache_size = 4096
+cache_size = 65536
211
212
213
## Minimum TTL for cached entries
214
215
-cache_min_ttl = 2400
+cache_min_ttl = 300
216
217
218
## Maximum TTL for cached entries
219
220
-cache_max_ttl = 86400
+cache_max_ttl = 3600
221
222
223
-## TTL for negatively cached entries
+## Minimum TTL for negatively cached entries
224
225
-cache_neg_ttl = 60
+cache_neg_min_ttl = 5
226
+
227
228
+## Maximum TTL for negatively cached entries
229
230
+cache_neg_max_ttl = 120
231
232
233
0 commit comments