Skip to content

Commit

Permalink
Update example-dnscrypt-proxy.toml (#1489)
Browse files Browse the repository at this point in the history
* Update lb_strategy usage

* Update example-dnscrypt-proxy.toml
  • Loading branch information
lifenjoiner committed Oct 21, 2020
1 parent 6ee164a commit 078f693
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dnscrypt-proxy/example-dnscrypt-proxy.toml
Expand Up @@ -125,20 +125,23 @@ keepalive = 30
# edns_client_subnet = ["0.0.0.0/0", "2001:db8::/32"]


## 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>`.
## 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+

# blocked_query_response = 'refused'


## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random'
## Load-balancing strategy: 'p2' (default), 'ph', 'p<n>', 'first' or 'random'
## Randomly choose 1 of the fastest 2, half, n, 1 or all live servers by latency.
## The response quality still depends on the server itself.

# lb_strategy = 'p2'

## Set to `true` to constantly try to estimate the latency of all the resolvers
## and adjust the load-balancing parameters accordingly, or to `false` to disable.
## Default is `true` that makes 'p2' `lb_strategy` work well.

# lb_estimator = true

Expand Down

0 comments on commit 078f693

Please sign in to comment.