How to setup a local DNS resolver that can send query to multiple nameservers in parallel?
Why I need it:
- The reliability of 18.104.22.168 or 22.214.171.124 are not very good. (Observed hours of down or unstable time over last week for 126.96.36.199)
- The machine hosts https/socks5 proxy, so name lookup is crucial and quite frequently.
Parallel look-up is preferred to reduce latency if one nameserver does not service.
The linux machine is ubuntu server 22.04.
The https/socks5 proxy service cannot handle multiple DNS server, so a local resolver have to handle the parallel or fallback look-up for it.