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

Don't attempt to resolve bare hostnames #159

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Don't attempt to resolve bare hostnames #159

merged 1 commit into from
Jul 18, 2024

Conversation

56quarters
Copy link
Owner

When connecting to Memcached servers, only attempt to resolve the hostnames to IP addresses when prefixed with dns+. If just a hostname is supplied, attempt to use it verbatim. This results in a better user experience since we get the benefits of using the system resolver and the expected hostname appears in the UI (instead of its IP).

Fixes #151

When connecting to Memcached servers, only attempt to resolve the hostnames
to IP addresses when prefixed with `dns+`. If just a hostname is supplied,
attempt to use it verbatim. This results in a better user experience since
we get the benefits of using the system resolver and the expected hostname
appears in the UI (instead of its IP).

Fixes #151
@56quarters 56quarters marked this pull request as ready for review July 18, 2024 01:39
@56quarters 56quarters merged commit cdd0d54 into master Jul 18, 2024
6 checks passed
@56quarters 56quarters deleted the resolution branch July 18, 2024 01:44
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

Successfully merging this pull request may close these issues.

DNS client should read /etc/hosts
1 participant