You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/27 03:37:58 UTC
[GitHub] [apisix] gy09535 opened a new issue #2532: bug: apisix upstream domain resolve can not support "search xxxx, options xxxxx" in k8s env
gy09535 opened a new issue #2532:
URL: https://github.com/apache/apisix/issues/2532
### Issue description
for example in k8s environment , we can use service name as backend nodes, sometime for core DNS query we can combine the service name and "svc.cluster.local" as the domain, the resolve config is
```
nameserver 10.96.0.10
search svc.cluster.local cluster.local
options ndots:5
```
apisix just support "nameserver",ref code: https://github.com/apache/apisix/blob/master/apisix/core/utils.lua#L75,so we must define the full domain "xxxx.svc.cluster.local".
### Environment
* apisix version (cmd: `apisix version`):
* OS:
### Minimal test code / Steps to reproduce the issue
1.
2.
3.
### What's the actual result? (including assertion message & call stack if applicable)
### What's the expected result?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 edited a comment on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 edited a comment on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722777902
> To solve this problem, you can refer to or use this library directly
>
> https://github.com/Kong/lua-resty-dns-client
>
> @gy09535
See it, It is great 💯
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-743221117
> > > 要解决此问题,您可以直接参考或使用此库
> > > https://github.com/Kong/lua-resty-dns-client
> > > @ gy09535
> >
> >
> > 看到它,太好了 💯
>
> hello 我们目前特别迫切需要这个功能,想知道这个功能开发情况如何了?
I will try to do it next week, if I have times.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ShaoZeMing commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
ShaoZeMing commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-735384950
> > 要解决此问题,您可以直接参考或使用此库
> > https://github.com/Kong/lua-resty-dns-client
> > @ gy09535
>
> 看到它,太好了 💯
+1
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722777902
> To solve this problem, you can refer to or use this library directly
>
> https://github.com/Kong/lua-resty-dns-client
>
> @gy09535
See it, It it great.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-750716267
> > I will try to do it next week, if I have times.
>
> any news? @gy09535
I am doing it in my company repository, when I finish it I will copy it to apisix.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 edited a comment on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 edited a comment on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722777902
> To solve this problem, you can refer to or use this library directly
>
> https://github.com/Kong/lua-resty-dns-client
>
> @gy09535
See it, It is great.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] dickens7 commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
dickens7 commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722776692
To solve this problem, you can refer to or use this library directly
https://github.com/Kong/lua-resty-dns-client
@gy09535
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ShaoZeMing commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
ShaoZeMing commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-743210230
> > 要解决此问题,您可以直接参考或使用此库
> > https://github.com/Kong/lua-resty-dns-client
> > @ gy09535
>
> 看到它,太好了 💯
hello 我们目前特别迫切需要这个功能,想知道这个功能开发情况如何了?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2532:
URL: https://github.com/apache/apisix/issues/2532
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] membphis commented on issue #2532: bug: apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722386092
welcome PR for this feature.
if you need any help, please let us know.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2532:
URL: https://github.com/apache/apisix/issues/2532
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 commented on issue #2532: bug: apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722385126
I know some from k8s core dns resolver, Now I read this page:https://linux.die.net/man/5/resolv.conf , full support is difficult, But support search and options can work in k8s cluster.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ShaoZeMing commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
ShaoZeMing commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-748600044
> > > > 要解决此问题,您可以直接参考或使用此库
> > > > https://github.com/Kong/lua-resty-dns-client
> > > > @ gy09535
> > >
> > >
> > > 看到它,太好了 💯
> >
> >
> > hello 我们目前特别迫切需要这个功能,想知道这个功能开发情况如何了?
>
> I will try to do it next week, if I have times.
好的,非常感谢。
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722772906
> welcome PR for this feature.
>
> if you need any help, please let us know.
Sure, thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] membphis commented on issue #2532: bug: apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722369783
> Should we support the full dns resolve rule?
do you know how it works? I am not familiar with this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] gy09535 edited a comment on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
gy09535 edited a comment on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-722772906
> welcome PR for this feature.
>
> if you need any help, please let us know.
go it, please assign it to me.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] membphis commented on issue #2532: feat: Apisix upstream domain resolver can not support "search xxxx, options xxxxx" in k8s environment
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2532:
URL: https://github.com/apache/apisix/issues/2532#issuecomment-750154310
> I will try to do it next week, if I have times.
any news? @gy09535
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org