How to setup a local DNS resolver that can send query to multiple nameservers in parallel?
Why I need it:
- The reliability of 1.1.1.1 or 8.8.8.8 are not very good. (Observed hours of down or unstable time over last week for 1.1.1.1)
- 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.