-
Notifications
You must be signed in to change notification settings - Fork 52
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
Resolving FQDN for hostname params #17
base: master
Are you sure you want to change the base?
Conversation
Ruby driver already performs dns lookup on hostnames, I’m not sure why this is needed |
This is what happens if you pass a fqdn instaed of ip to 0.4.0 version:
|
Hmm, I’ll take a look, we might have to update the version of the ruby driver that cassandra-web is using |
Can you rerun |
no change in output ( I suppose you intended -L debug )
|
I just realized that the |
For me, version |
It's the line |
Hi @avalanche123 , |
Hi @avalanche123 et al.
I've done a small modification to the code in order to let HOST parameter work also with FQDN instead of only IPS.
I'm trying to use cassandra-web in kubernetes environments where IPs cannot be know in advance, so this small fix is really useful to me.
Sadly I'm not a ruby developer so I tried to arrange it the best I could, but I'd like to share it to have it included in mainstream (maybe with some more elegant adjustment).
PR also include integration with Travis CI to create docker image and upload it to Docker hub (just change environment variables and secure to work on another account)