Update example configuration

This commit is contained in:
Star Brilliant
2018-07-02 20:40:47 +08:00
parent 89d809d469
commit db007fbded

View File

@@ -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",
]