On Fri, May 29, 2020 at 6:15 PM Ming Wen <wenm...@apache.org> wrote: > sure, it is real dns. > we can do test for this, and will be a nice feature. >
that is a cool feature. ^_^ > > YuanSheng Wang <membp...@apache.org> 于 2020年5月29日周五 下午6:03写道: > > > 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 <wenm...@apache.org> 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 > > > -- *MembPhis* My github: https://github.com/membphis Apache APISIX: https://github.com/apache/incubator-apisix