Replies: 2 comments
-
i like this: prefered_server_name = ['server1', 'server2', 'server3', 'server4'] # your favorite dns server list Each prefered or alternate server name, combine with lb_strategy and Sorted latencies. |
Beta Was this translation helpful? Give feedback.
-
Here's my preferred implementation.
So we could still write
These two config entries would behave identically, except when My particular use case is as follows:
So you can see why I might want to tell dnscrypt-proxy, "Always use resolver X if it's up, otherwise do your regular load-balancing among Y and Z, and if all of those are down use W instead." Right now, I have to use |
Beta Was this translation helpful? Give feedback.
-
Each DNS request: use first server from server_names, if not available (no response for configurable seconds), use second one, ..., third, ...
Two variants: not sorted and sorted.
As optimization unavailable server can be temporarily (configurable seconds) removed from list.
Beta Was this translation helpful? Give feedback.
All reactions