Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple upstream servers #143

Open
kristoftorok opened this issue Dec 22, 2022 · 3 comments
Open

Multiple upstream servers #143

kristoftorok opened this issue Dec 22, 2022 · 3 comments

Comments

@kristoftorok
Copy link

Hi,

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

@Showfom
Copy link

Showfom commented Dec 22, 2022

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

@kristoftorok
Copy link
Author

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

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

@kristoftorok
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants