From cb64f6694b905ba24fb242f29b1d04b10fa8c08e Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Fri, 17 May 2019 02:37:52 +0800 Subject: [PATCH] Update the sample configuration to teach users how to listen on both IPv4 and IPv6 --- doh-client/doh-client.conf | 3 +++ doh-server/doh-server.conf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/doh-client/doh-client.conf b/doh-client/doh-client.conf index ba69ebe..0d802a8 100644 --- a/doh-client/doh-client.conf +++ b/doh-client/doh-client.conf @@ -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 diff --git a/doh-server/doh-server.conf b/doh-server/doh-server.conf index eaa7f53..0fed8d9 100644 --- a/doh-server/doh-server.conf +++ b/doh-server/doh-server.conf @@ -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