flyctl sometimes comes up with the wrong DNS server for WireGuard peers
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- go
- Domain
- cli, networking
Research direction
Start by tracing flyctl ssh console's WireGuard peer DNS configuration and the path that resolves .internal names. Reproduce or inspect the case where a local IPv4 DNS server is used, then verify that the WireGuard DNS address is derived from the peer IP and that an invalid server is rejected.
Written by the indexing model from the issue text.
Description
Every once in awhile we see an error from someone who does flyctl ssh console and DNS times out because it's trying to look up .internal names on their local, IPv4 DNS server.
We should find out why this ever happens. But in the immediacy: the WireGuard DNS server will always start with fdaa, and flyctl should freak out if it ever tries to look up a .internal name on a DNS server that doesn't.
We don't really need to store DNS configuration or get it from the API, because it's always fdaa:<org>::3. The <org> bit is already embedded in your WireGuard IP, so it's always available to flyctl. We could just generate it on the fly. But we should figure out why what we're doing now isn't working.
- Dominant language
- Go
- Stars
- 1.7k
- Forks
- 311
- Avg merge
- 12h 50m
- Merged PRs (30d)
- 78
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from superfly/flyctl
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100