From db007fbded9da48e5058fa72d2e9e79ef45fd5ee Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Mon, 2 Jul 2018 20:40:47 +0800 Subject: [PATCH] Update example configuration --- doh-server/doh-server.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doh-server/doh-server.conf b/doh-server/doh-server.conf index 8d91195..2b5b069 100644 --- a/doh-server/doh-server.conf +++ b/doh-server/doh-server.conf @@ -6,10 +6,10 @@ listen = [ # TLS certification file # If left empty, plain-text HTTP will be used. -# Please be informed that this program does not do OCSP Stapling, which is -# necessary for some clients to bootstrap itself. -# You are recommended to use a server load balancer (Caddy, Nginx) and set up -# TLS there. +# You are recommended to leave empty and to use a server load balancer (Caddy, +# Nginx) and set up TLS there, because this program does not do OCSP Stapling, +# which is necessary for client bootstrapping in a network environment with +# completely no traditional DNS service. cert = "" # TLS private key file @@ -21,6 +21,8 @@ path = "/dns-query" # Upstream DNS resolver # If multiple servers are specified, a random one will be chosen each time. upstream = [ + "1.1.1.1:53", + "1.0.0.1:53", "8.8.8.8:53", "8.8.4.4:53", ]