dns-over-https icon indicating copy to clipboard operation
dns-over-https copied to clipboard

Multiple upstream servers

Open kristoftorok opened this issue 2 years ago • 3 comments
trafficstars

Hi,

is there a way to specify multiple upstream servers and, in case of fail, switch to another one?

kristoftorok avatar Dec 22 '22 14:12 kristoftorok

You can use dnsdist as your upstream for load balancer and failover

Showfom avatar Dec 22 '22 15:12 Showfom

Hmm, I'll show you what I'd like to do.

Screenshot from 2022-12-22 16-09-59

kristoftorok avatar Dec 22 '22 15:12 kristoftorok

If you connect to only one dns server(dnsdist) then it is a Single Point of Failure.

Nginx will not know whether DoH Proxy 1 can resolve or not if DNSdist 1 dies. Therefore, in case of a fail, it will still route traffic to the "faulty" DoH server.

kristoftorok avatar Dec 22 '22 15:12 kristoftorok