mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 09:25:56 +03:00
[GH-ISSUE #256] DNS slow for container names when not connected to the internet #103
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @addshore on GitHub (Jan 12, 2023).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/256
Downstream ticket is https://phabricator.wikimedia.org/T326735
What is Happening
This issue occurs while trying to resolve names that are not configured in the dns-proxy-server
When connected to the internet all appears to happen as normal, the resolution falls back to a public dns server like 8.8.8.8, and fails quickly
When not connected to the internet however the resolution still falls back to a public dns server, but that is not accessible and takes many seconds to timeout
What is expected
I would expect one of the following:
mysqlwould never make their way to the public DNS server as part of their resolutionSteps to Reproduce
Currently using the
defreitas/dns-proxy-server:2.19.0docker imageI can try to create a minimal reproduction if desired, but I'm not sure this repo is that active right now?
@mageddo commented on GitHub (Feb 23, 2023):
Hey @addshore , thanks for your report
It makes sense, but we are not going to add such rules to DPS for now.
I agree, had issues like this in the past, expected it to be finally solved already, I will try to reproduce the issue and give you a feedback.
DPS 3 is alive, in beta version though, it maybe fix that issue, maybe you can find a different one, give it a try and give a feedback if possible.
Thanks in advance
@mageddo commented on GitHub (Feb 23, 2023):
Okay, I confirmed the bug on
2.19.0(evidence below), please give a try in DPS version3.1.4-beta+it must be fixedlog.txt
@addshore commented on GitHub (Feb 24, 2023):
I tried giving it a try, but filled https://github.com/mageddo/dns-proxy-server/issues/309 for a failing end to end test on my application.
If I can get the tests to be green then I can give the offline behaviour a try!
@addshore commented on GitHub (Mar 1, 2023):
I can confirm this is working in 3.5.2
DNS resolution for my usecase now doesn't hang on these timeouts