-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant Resolve host name. Tried adding with CLI parameters. Should this work? #72
Comments
@jb6925 This should works:
|
Thanks @doujiang24. The resolver was added to the configuration but now I'm unable to override the default . Is it possible to override the resolver? Or is there a way to set the |
Okay, after checking the source code:
So, I think 1 should work then. |
Also, I'm a bit confused, does |
@doujiang24 yes it does. my /etc/resolv.conf
using the is it possible that the |
Hi @jb6925, currentlly |
I'm running a unit test with resty in a kubernetes cluster.
resty /kong/spec/jwtcache_test.lua --http-conf 'resolver 172.31.0.10' --main-conf 'resolver 172.31.0.10'
This test uses "resty.redis" to try to connect to a redis instance that is deployed as a service.
Error:
redis could not be resolved (3: Host not found)
Should this work? I'm not really looking up a proxy address in nginx.
Thanks for your time in looking at this issue.
The text was updated successfully, but these errors were encountered: