apisix icon indicating copy to clipboard operation
apisix copied to clipboard

request help:

Open zhuchengxing opened this issue 6 years ago • 1 comments

Issue description

When I log in Kafka, the following error occurs: 1 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

zhuchengxing avatar Aug 03 '20 06:08 zhuchengxing

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.

membphis avatar Aug 03 '20 07:08 membphis