mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 22:55:39 +00:00
29 lines
675 B
Plaintext
29 lines
675 B
Plaintext
# DNS listen port
|
|
listen = "127.0.0.1:53"
|
|
|
|
# HTTP path for upstream resolver
|
|
# If multiple servers are specified, a random one will be chosen each time.
|
|
upstream_google = [
|
|
"https://dns.google.com/resolve",
|
|
]
|
|
upstream_ietf = [
|
|
"https://dns.google.com/experimental",
|
|
]
|
|
|
|
# Bootstrap DNS server to resolve the address of the upstream resolver
|
|
# If multiple servers are specified, a random one will be chosen each time.
|
|
# If empty, use the system DNS settings.
|
|
bootstrap = [
|
|
"8.8.8.8:53",
|
|
"8.8.4.4:53",
|
|
]
|
|
|
|
# Timeout for upstream request
|
|
timeout = 10
|
|
|
|
# Disable EDNS0-Client-Subnet, do not send client's IP address
|
|
no_ecs = false
|
|
|
|
# Enable logging
|
|
verbose = false
|