Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Feature Request: Add “NXDOMAIN Consensus” Load-Balancing Strategy

Hello,

First, thank you for maintaining dnscrypt-proxy — it’s an excellent project that I use daily.

I’d like to propose a new load-balancing strategy for situations where strict consensus is required across multiple upstream resolvers. Specifically:

Current strategies (e.g. p2) return the fastest valid response.

Proposed strategy (consensus):

  • Query all configured upstream resolvers in parallel.
  • If any resolver returns NXDOMAIN, dnscrypt-proxy should return NXDOMAIN.
  • Otherwise, return the first valid answer as usual.

This would be useful for scenarios where a single NXDOMAIN should be treated as authoritative, even if other resolvers provide a response.

Would you consider adding such a strategy (e.g., lb_strategy = consensus) to dnscrypt-proxy?

Thank you for your time and for all the work that goes into this project.

You must be logged in to vote

Replies: 1 comment

Comment options

No.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.