hashicorp / hashicorp/memberlist

Join() fails to resolve unqualified DNS name

Open
#147 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.1k
Forks
478
Avg merge
15h 58m
Merged PRs (30d)
3

Description

Looks like the custom TCP resolver introduced in #77 fails to resolve unqualified DNS names which IMO is a bug since all resolvers do that. It's a common pattern to use unqualified names that can be kept the same in different environments.

This affects https://github.com/prometheus/alertmanager/issues/1307

Contributor guide

Open the contributing guide

Research direction

Start at Join() and inspect the custom TCP resolver introduced in issue #77. Reproduce the failure with an unqualified DNS name, then verify that Join() resolves it consistently with the expected resolver behavior; the related Alertmanager issue #1307 provides additional context.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.