From 502caabd15062a4d44a505d63ffd983056c69a82 Mon Sep 17 00:00:00 2001 From: Martin Monperrus Date: Tue, 4 Feb 2020 15:39:29 +0000 Subject: [PATCH] doc: document upstream_selector fix #66 --- Readme.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Readme.md b/Readme.md index 8447a44..30085b9 100644 --- a/Readme.md +++ b/Readme.md @@ -79,6 +79,17 @@ you can host DNS-over-HTTPS along with other HTTPS services. HTTP/2 with at least TLS v1.3 is recommended. OCSP stapling must be enabled, otherwise DNS recursion may happen. +### Configuration file + +The main configuration file is `doh-client.conf`. + +**Server selectors.** If several upstream servers are set, one is selected according to `upstream_selector` for each request. With `upstream_selector = "random"`, a random upstream server will be chosen for each request. + +```toml +# available selector: random (default) or weighted_round_robin or lvs_weighted_round_robin +upstream_selector = "random" +``` + ### Example configuration: Apache SSLProtocol TLSv1.2