You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/05 11:00:31 UTC

[GitHub] [apisix] gy09535 commented on issue #2533: request help: failed to set server peer [some-k8s-svc.default.svc.cluster.local:5202] err: no host allowed

gy09535 commented on issue #2533:
URL: https://github.com/apache/apisix/issues/2533#issuecomment-722304979


   > > Another problem is apisix how to support all dns resolve rules , now can just support name server , I think when the host is not find ,we should search another domain such as "service.name.apisix.svc.cluster.local" and "service.name.cluster.local" etc... I think we can support this.
   > > ```
   > > nameserver xxxxxx
   > > search apisix.svc.cluster.local svc.cluster.local cluster.local
   > > options ndots:5
   > > ```
   > 
   > that is a todo feature. do you know how it works? and welcome PR always
   
   We can  discuss in this issue : https://github.com/apache/apisix/issues/2532
   My idea is  do it in our lua function and expand resolve code, If we can not find Ip we can do other resolve logical below "/etc/resolv.conf" , I think I can do this.


----------------------------------------------------------------
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:
users@infra.apache.org