mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +02:00
Move the dnscrypt-proxy cache file (#14235)
This commit is contained in:
parent
ec1fa3bb57
commit
e431f21cbb
2 changed files with 7 additions and 6 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
/etc/dnscrypt-proxy/** r,
|
||||
/usr/bin/dnscrypt-proxy mr,
|
||||
/tmp/public-resolvers.md* rw,
|
||||
/var/cache/{private/,}dnscrypt-proxy/** rw,
|
||||
|
||||
/tmp/*.tmp w,
|
||||
owner /tmp/*.tmp r,
|
||||
|
|
|
@ -118,11 +118,12 @@ timeout = 2500
|
|||
keepalive = 30
|
||||
|
||||
|
||||
## Use the REFUSED return code for blocked responses
|
||||
## Setting this to `false` means that some responses will be lies.
|
||||
## Unfortunately, `false` appears to be required for Android 8+
|
||||
## Response for blocked queries. Options are `refused`, `hinfo` (default) or
|
||||
## an IP response. To give an IP response, use the format `a:<IPv4>,aaaa:<IPv6>`.
|
||||
## Using the `hinfo` option means that some responses will be lies.
|
||||
## Unfortunately, the `hinfo` option appears to be required for Android 8+
|
||||
|
||||
refused_code_in_responses = false
|
||||
# blocked_query_response = 'refused'
|
||||
|
||||
|
||||
## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random'
|
||||
|
@ -523,7 +524,7 @@ cache_neg_max_ttl = 600
|
|||
|
||||
[sources.'public-resolvers']
|
||||
urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md']
|
||||
cache_file = '/tmp/public-resolvers.md'
|
||||
cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
|
||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||
prefix = ''
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue