Skip to content

Commit 09ae663

Browse files
authored
Adjusting Caching settings
Further reduced timeout to 1500ms. Lowered cache, cache_min_ttl, cache_max_ttl. Set cache_neg settings back to default.
1 parent 0b58185 commit 09ae663

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

config/dnscrypt-proxy.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ force_tcp = false
7171

7272
## How long a DNS query will wait for a response, in milliseconds
7373

74-
timeout = 3000
74+
timeout = 1500
7575

7676

7777
## Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random'
@@ -207,27 +207,27 @@ cache = true
207207

208208
## Cache size
209209

210-
cache_size = 65536
210+
cache_size = 8192
211211

212212

213213
## Minimum TTL for cached entries
214214

215-
cache_min_ttl = 30
215+
cache_min_ttl = 0
216216

217217

218218
## Maximum TTL for cached entries
219219

220-
cache_max_ttl = 21600
220+
cache_max_ttl = 0
221221

222222

223223
## Minimum TTL for negatively cached entries
224224

225-
cache_neg_min_ttl = 5
225+
cache_neg_min_ttl = 60
226226

227227

228228
## Maximum TTL for negatively cached entries
229229

230-
cache_neg_max_ttl = 120
230+
cache_neg_max_ttl = 600
231231

232232

233233

0 commit comments

Comments
 (0)