mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 09:25:56 +03:00
[GH-ISSUE #395] Hang up on nonexistent domains or timeouts #141
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#141
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 @Sajito on GitHub (Mar 22, 2023).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/395
Originally assigned to: @mageddo on GitHub.
What is Happening / What is expected
I'm not quiet sure if this relates to nonexistent domain or is always the case if a query times out.
When querying for a domain DPS, tries every solver available, each with a timeout of 10 seconds, until it get's a response or every solver failed.
If the domain does not exist, DPS needs multiple minutes to try each solver. While it is trying them, any other request will not be processed.
Steps to reproduce:
asd.asdgoogle.comSpecs
Sorry for the missing log, I'm in a hurry right now, but I think this should be fairly easy to reproduce.
@mageddo commented on GitHub (Mar 22, 2023):
Hey, I'm not able to reproduce when using DPS with default options
I suppose it's related to the remote server you're using, maybe it is taking more than 10 seconds to answsr (DPS timeout is set 10s) then returns null. In that case the slowness is related to the proxied server.
I will make a test with a bad remote server to see if I get a NPE.
@mageddo commented on GitHub (Mar 22, 2023):
Okay... the NPE bug is confirmed when using a bad remote server which will never respond (8.8.8.8:85), I will work to fix that soon, no sure if it will increase your speed experience as your remote server is taking too long to respond.
@mageddo commented on GitHub (Mar 22, 2023):
Fixed the NPE, but realized that there is some unexpected behavior happening, I'm seeing logs saying resolver took 40s to finish the process
I will take a deeper look at it.
@mageddo commented on GitHub (Mar 23, 2023):
Hey, I've made an improvement on the cache parallelism, I think that is the most major offender to the performance. There is another improvement to do, let me know if it's enough for your use case.
Just released 3.15.3-snapshot with the improvement.
@Sajito commented on GitHub (Mar 23, 2023):
Hey, just tried it and it looks really good. Thank you!