mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 16:25:39 +00:00
28 lines
445 B
Plaintext
28 lines
445 B
Plaintext
# HTTP listen port
|
|
listen = "127.0.0.1:8053"
|
|
|
|
# TLS certification file
|
|
cert = ""
|
|
|
|
# TLS key file
|
|
key = ""
|
|
|
|
# HTTP path for resolve application
|
|
path = "/resolve"
|
|
|
|
# Upstream DNS resolver
|
|
# If multiple servers are specified, a random one will be chosen each time.
|
|
upstream = [
|
|
"8.8.8.8:53",
|
|
"8.8.4.4:53",
|
|
]
|
|
|
|
# Number of tries if upstream DNS fails
|
|
tries = 3
|
|
|
|
# Only use TCP for DNS query
|
|
tcp_only = false
|
|
|
|
# Enable logging
|
|
verbose = false
|