mirror of
https://github.com/m13253/dns-over-https.git
synced 2026-03-30 03:10:24 +00:00
Update the sample configuration to teach users how to listen on both IPv4 and IPv6
This commit is contained in:
@@ -4,6 +4,9 @@ listen = [
|
||||
"127.0.0.1:5380",
|
||||
"[::1]:53",
|
||||
"[::1]:5380",
|
||||
|
||||
## To listen on both 0.0.0.0:53 and [::]:53, use the following line
|
||||
# ":53",
|
||||
]
|
||||
|
||||
# HTTP path for upstream resolver
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
listen = [
|
||||
"127.0.0.1:8053",
|
||||
"[::1]:8053",
|
||||
|
||||
## To listen on both 0.0.0.0:8053 and [::]:8053, use the following line
|
||||
# ":8053",
|
||||
]
|
||||
|
||||
# Local address and port for upstream DNS
|
||||
|
||||
Reference in New Issue
Block a user