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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
