that is the final result: +1: 3 votes -1: 1 vote
I have created an issue about this question: https://github.com/apache/incubator-apisix/issues/1378 Thank you for reminding @Ming On Tue, Mar 31, 2020 at 5:57 PM Ming Wen <[email protected]> wrote: > Hi,yuansheng, > you also need to calculate -1 when you count. > > Thanks, > Ming Wen, Apache APISIX & Apache SkyWalking > Twitter: _WenMing > > > YuanSheng Wang <[email protected]> 于2020年3月31日周二 下午5:54写道: > > > result: +3 agree > > > > I will create a Github issue later > > > > On Fri, Mar 27, 2020 at 10:07 AM Linsir Wu <[email protected]> wrote: > > > > > +1 > > > > > > I prefer to use the local DNS resolver by default. It's more > compatible. > > > Cases like : > > > - aliyun inner dns. > > > - docker network. > > > > > > > > > Lang Wang <[email protected]> 于2020年3月27日周五 上午9:36写道: > > > > > > > +1 > > > > > > > > The local resolver (/etc/resolv.conf) will works more compatible than > > > > others. > > > > > > > > Cases like : > > > > we use Aliyun & K8s cluster, if we set > > > > `dns_resolver` to the IPs outside vpc network, some feature will be > > > broken: > > > > > > > > Aliyun DNS `private zone` record cannot be fetch any more; > > > > > > > > K8s' inner service record like: `*.*.svc.cluster.local`cannot be > > reached > > > > any more; > > > > > > > > Fetching Aliyun's resource link url like `*.aliyuncs.com` will cause > > big > > > > latency than default. > > > > > > > > > > > > > > > > 在 2020年3月26日星期四,junxu chen <[email protected]> 写道: > > > > > > > > > +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 <[email protected]> > > 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 <[email protected]> 于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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > *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
