apisix
apisix copied to clipboard
request help:
Issue description
When I log in Kafka, the following error occurs:
When Lua gets the KAFka IP, it does not resolve it through /etc/hosts. Why? Is there a solution?
Environment
- apisix version (cmd:
apisix version): 1.3 - OS:centos7
Nginx will never use /etc/hosts to resolve DNS.
Nginx parses the domain always by DNS server, please take a look at: http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver.