Skip to content

Commit

Permalink
change: update to use the local DNS resolver by default (#1387)
Browse files Browse the repository at this point in the history
close #1378
  • Loading branch information
dabue authored Apr 2, 2020
1 parent e24fd85 commit 5d50895
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions conf/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d50895

Please sign in to comment.