dnsproxy icon indicating copy to clipboard operation
dnsproxy copied to clipboard

Upstream-servers order/selection/logic?!

Open iJorgen opened this issue 2 years ago • 3 comments

If not specifying "all-servers" I would like it to use the upstream-servers in the exact order as specified in the config-file. If the first upstream goes down it should use nr 2 in the list, but test periodically if nr 1 is back up and running again and then switch back. If all upstream-servers fails, it should use the fallback-servers with the same principle and using nr 1.

Now it seems to pick a random server and stick with that.

iJorgen avatar Jul 29 '22 14:07 iJorgen

Not yet possible, but we do have this in our plans. Let's keep this issue open until it's done.

ameshkov avatar Jul 30 '22 14:07 ameshkov

Sounds great! :-) Does the flag "all-servers" also affect fallback-servers, so all of them are queried simultaneously?

iJorgen avatar Jul 31 '22 06:07 iJorgen

It would also be great to be able to randomize over upstream servers for sake of privacy, for example with an option RandomizeServers ref

monperrus avatar Jul 31 '22 08:07 monperrus