Skip to content
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

Hostname does not get resolved when mismatch in case #170

Closed
HansH111 opened this issue Jun 4, 2022 · 2 comments
Closed

Hostname does not get resolved when mismatch in case #170

HansH111 opened this issue Jun 4, 2022 · 2 comments

Comments

@HansH111
Copy link
Contributor

HansH111 commented Jun 4, 2022

We got a hostname in the /etc/hosts file which has mixed case, so f.i.
192.168.1.100 TestHost.localdomain TestHost

if we try to make a connection to dbclient root@testhost it does not find entry end we get:
Connect failed: Error resolving 'testhost' port '22'. Name does not resolve

if we do it with an exactly matching hostname it works.... so : dbclient root@TestHost

However if we do this with openssh it works... so : ssh root@testhost works..

So somehow it seems that the content of /etc/hosts is casesensitive with dbclient but not with openssh...
Any ideas ?

@mkj
Copy link
Owner

mkj commented Jun 9, 2022

It seems to work fine for me in testing here. I wonder if dbclient was compiled with a different libc to openssh?

@HansH111
Copy link
Contributor Author

HansH111 commented Jun 9, 2022 via email

@mkj mkj closed this as completed Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants