+1

I prefer use the local DNS resolver by default. It's more compatible.

If someone need to use special DNS resolver, he can set the configure to
use it.



On Thu, Mar 26, 2020 at 10:12 AM Ming Wen <wenm...@apache.org> wrote:

> I'm not sure.
> I checked nginx, OpenResty and Kong, all of them not read the local
> configuration by default.
>
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>
>
> YuanSheng Wang <membp...@apache.org> 于2020年3月26日周四 上午10:00写道:
>
> > Hi:
> >
> > I think it is time to use the local DNS resolver by default. This is
> > more suitable for most users,
> > especially for k8s users.
> >
> > ```yaml
> > apisix:
> >   # dns_resolver:                   # If not set, read from
> > `/etc/resolv.conf`
> >   #  - 1.1.1.1
> >   #  - 8.8.8.8
> > ```
> >
> > Here is the default value for DNS resolver now.
> >
> > ```yaml
> > apisix:
> >   dns_resolver:                   # If not set, read from
> > `/etc/resolv.conf`
> >     - 114.114.114.114
> >     - 223.5.5.5
> >     - 1.1.1.1
> >     - 8.8.8.8
> > ```
> >
> > --
> > MembPhis
> > My github: https://github.com/membphis
> > Apache APISIX: https://github.com/apache/incubator-apisix
> >
>

Reply via email to