Consul dns_resolver:127.0.0.1:8600

Is it a real DNS server? if it is, then we can use it as a standard DNS
server.





On Fri, May 29, 2020 at 5:29 PM Ming Wen <[email protected]> wrote:

> Hello,
> I am not sure do we using the `lua-resty-dns` to do dns_resolver work, and
> is APISIX supports Consul DNS for service discovery?
>
> for example 127.0.0.1:8600 is the address to the Consul DNS resolver, then
> we add configure like this in `config.yaml`:
> dns_resolver:127.0.0.1:8600
>
> At this point any upstream hostname, for example `foo` in upstream_url=
> http://foo/index.html, will be resolved by Consul.
>
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>


-- 
*MembPhis*
My github: https://github.com/membphis
Apache APISIX: https://github.com/apache/incubator-apisix

Reply via email to