This is an automated email from the ASF dual-hosted git repository.
membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 5d50895 change: update to use the local DNS resolver by default
(#1387)
5d50895 is described below
commit 5d5089579009f964858e26c4e10ce53fab022606
Author: dabue <[email protected]>
AuthorDate: Thu Apr 2 09:16:24 2020 +0800
change: update to use the local DNS resolver by default (#1387)
close #1378
---
conf/config.yaml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/conf/config.yaml b/conf/config.yaml
index 3eccbca..a3630b6 100644
--- a/conf/config.yaml
+++ b/conf/config.yaml
@@ -80,11 +80,9 @@ apisix:
# udp: # UDP proxy port list
# - 9200
# - 9211
- dns_resolver: # If not set, read from `/etc/resolv.conf`
- - 114.114.114.114
- - 223.5.5.5
- - 1.1.1.1
- - 8.8.8.8
+ # dns_resolver: # If not set, read from `/etc/resolv.conf`
+ # - 1.1.1.1
+ # - 8.8.8.8
dns_resolver_valid: 30 # valid time for dns result 30 seconds
resolver_timeout: 5 # resolver timeout
ssl: