membphis commented on a change in pull request #1217: enable local DNS
URL: https://github.com/apache/incubator-apisix/pull/1217#discussion_r397495748
##########
File path: lua/apisix.lua
##########
@@ -32,14 +32,20 @@ local pairs = pairs
local tostring = tostring
local load_balancer
-
+local dns_resolver
local parsed_domain
+local function parse_args(args)
+ dns_resolver = args and args["dns_resolver"]
+ core.log.info("dns resolver", core.json.delay_encode(dns_resolver, true))
Review comment:
Need a test case, we need to check it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services