How to test lb_estimator and lb_strategy, and advice on my configuration? #2786
Unanswered
manuel-plavsic
asked this question in
Q&A
Replies: 1 comment 3 replies
-
In short the server list is sorted by response time of queries. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have set
lb_estimator
totrue
andlb_strategy
to"first"
and now I would like to test if they are working correctly. Unfortunately, I do not know how to test howlb_estimator
constantly tries to estimate the latency of all the resolvers. I tried usingsystemctl status dnscrypt-proxy2.service
, but I don't see the new estimations getting reported there. Can someone explain me this? It is not explained in https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Load-Balancing-Options.Additional information and context
I recently had some issues with my configuration, where almost all websites would load very slowly (especially at night). I know this because I tried disabling dnscrypt, and I could suddenly browse all websites extremely fast. Enabling it again made it very slow again. This happens only occasionally. I would like to find a way to ensure that a fast resolver is always switched to in case of performance decrease.
My configuration
I am using these servers:
with the following public resolver urls:
How possible is it that all Quad9 servers are simultaneously affected? Also, should setting
lb_strategy
to"p2"
(or maybe even"p3"
) be preferred in my case in your opinion?NB: I am on NixOS (unstable).
Beta Was this translation helpful? Give feedback.
All reactions