mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 14:15:40 +00:00
Update example configuration
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user