Revolyssup commented on issue #9565:
URL: https://github.com/apache/apisix/issues/9565#issuecomment-1602140854

   The underlying lua-resty-dns client allows uses local resolveconf when no 
nameservers are passed here[1]
   
   But in APISIX , according to the schema, the `servers` field is mandated [2]
   and resolveconf is always passed empty[3]. We can add an option in 
config-default to allow passing resolveconf. 
   
   @lingsamuel Can you assign this to me?
   
   
   1. 
https://github.com/Kong/lua-resty-dns-client/blob/fb1e686a8857c7492fdd30ca228d200afbde19aa/src/resty/dns/client.lua#LL564C44-L564C50
   
   2. 
https://github.com/apache/apisix/blob/d51950d645a6eff05e4848804490d489add7fc69/apisix/discovery/dns/schema.lua#L20
   
   3. 
https://github.com/apache/apisix/blob/d51950d645a6eff05e4848804490d489add7fc69/apisix/discovery/dns/init.lua#L7
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to