Update the sample configuration to teach users how to listen on both IPv4 and IPv6

This commit is contained in:
Star Brilliant
2019-05-17 02:37:52 +08:00
parent 1ec9548ff1
commit cb64f6694b
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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