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 2021/12/30 09:25:42 UTC

[GitHub] [apisix] tokers commented on issue #5233: request help: no host allowed while connecting to upstream

tokers commented on issue #5233:
URL: https://github.com/apache/apisix/issues/5233#issuecomment-1002942634


   > > Did you write the host and ip mappings in /etc/hosts beforehand?
   > 
   > yeah, i think this is General Situation
   > 
   > > I have a suggestion for enhancing nacos/eureka
   > > determine whether the host is a domain or an ip
   > 
   > 1. determine whether the host is a domain or an ip
   > 2. if it's a domain, resolve the domain to an ip, overriding the host
   > 
   > nice~ so. i modify the code resolver .parse_domain that can get ip from ' host to ip ' mapping in high priority then use dns_parse ?
   
   It seems that this is a more generic demands that we can use the `/etc/hosts` to change the DNS resolving.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org