mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-26 01:45:59 +03:00
[GH-ISSUE #526] More Effective RemoteSolver Circuit Check #182
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#182
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 @mageddo on GitHub (Jul 31, 2024).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/526
First Solution (Deprecated)
What is Happening
CircuitBreaker Ping is using TCP
What is Expected
Test the UDP port will be more effective to really have sure that the server is healthy as the remote solver will try to solve using UDP not TCP, I caught at one scenario where TCP remote port is available but UDP is not available on my network
@mageddo commented on GitHub (Jul 31, 2024):
Second Solution
Context
Yet, from my test solution 1 wasn't effective, the best way to check if the remote server is working is to do a real query to it. Actually DPS RemoteServer do circuitBreaker check at every request, I consider that what is disturbing the expected behavior is the Ping feature which don't have a complete guarantee that the remote server is really working causing a false positive.
Proposed Changes