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 # TLS certification file
# If left empty, plain-text HTTP will be used. # If left empty, plain-text HTTP will be used.
# Please be informed that this program does not do OCSP Stapling, which is # You are recommended to leave empty and to use a server load balancer (Caddy,
# necessary for some clients to bootstrap itself. # Nginx) and set up TLS there, because this program does not do OCSP Stapling,
# You are recommended to use a server load balancer (Caddy, Nginx) and set up # which is necessary for client bootstrapping in a network environment with
# TLS there. # completely no traditional DNS service.
cert = "" cert = ""
# TLS private key file # TLS private key file
@@ -21,6 +21,8 @@ path = "/dns-query"
# Upstream DNS resolver # Upstream DNS resolver
# If multiple servers are specified, a random one will be chosen each time. # If multiple servers are specified, a random one will be chosen each time.
upstream = [ upstream = [
"1.1.1.1:53",
"1.0.0.1:53",
"8.8.8.8:53", "8.8.8.8:53",
"8.8.4.4:53", "8.8.4.4:53",
] ]