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