Open
Description
Describe the feature
I recently installed AdGuard Home on my local network and enabled the following feature:
It's great because you no longer have to worry about whether your DNS is fast or not – simply the fastest will be used.
I was wondering if Tangerine can implement this way of DNS resolution.
Checking the Tangerine source code, I can see requests are resolved in series, so the server index in the array is important:
nodejs-dns-over-https-tangerine/index.js
Line 1112 in 42da3ee
This parallel resolution could be achievable using p-any; it also supports cancellation, so as soon as the first promise for getting the DNS resolution is resolved, the rest will be cancelled, preventing a waste of resources.
WDYT?