mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 07:33:52 +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,
|
/etc/dnscrypt-proxy/** r,
|
||||||
/usr/bin/dnscrypt-proxy mr,
|
/usr/bin/dnscrypt-proxy mr,
|
||||||
/tmp/public-resolvers.md* rw,
|
/var/cache/{private/,}dnscrypt-proxy/** rw,
|
||||||
|
|
||||||
/tmp/*.tmp w,
|
/tmp/*.tmp w,
|
||||||
owner /tmp/*.tmp r,
|
owner /tmp/*.tmp r,
|
||||||
|
|
|
@ -118,11 +118,12 @@ timeout = 2500
|
||||||
keepalive = 30
|
keepalive = 30
|
||||||
|
|
||||||
|
|
||||||
## Use the REFUSED return code for blocked responses
|
## Response for blocked queries. Options are `refused`, `hinfo` (default) or
|
||||||
## Setting this to `false` means that some responses will be lies.
|
## an IP response. To give an IP response, use the format `a:<IPv4>,aaaa:<IPv6>`.
|
||||||
## Unfortunately, `false` appears to be required for Android 8+
|
## 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'
|
## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random'
|
||||||
|
@ -523,7 +524,7 @@ cache_neg_max_ttl = 600
|
||||||
|
|
||||||
[sources.'public-resolvers']
|
[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']
|
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'
|
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
prefix = ''
|
prefix = ''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue