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

How to load balance #27

Closed
eterry1388 opened this issue Feb 25, 2020 · 2 comments · Fixed by paukstis/encrypted-dns-server#4
Closed

How to load balance #27

eterry1388 opened this issue Feb 25, 2020 · 2 comments · Fixed by paukstis/encrypted-dns-server#4

Comments

@eterry1388
Copy link

How can I correctly set up a load balanced dnscrypt server?

I have set up multiple instances of encrypted-dns, all sharing the same state file. However, it appears that the DNS stamp changes upon booting up with the setup.

I'd like to load balance with all of the instances keeping the same DNS stamp and same public IP address.

@ibksturm
Copy link

look at my git , i use nginx as loadbalancer https://github.com/ibksturm/dnscrypt-switzerland

@ibksturm
Copy link

ibksturm commented May 2, 2020

oke, longer version

nginx (with-stream-modul) -> https://github.com/ibksturm/dnscrypt-switzerland/blob/master/etc/nginx/stream.conf.d/dnsc.conf
-> encrypted-01 (statefile encrypted-01.state)
->encrypted-02 (statefile encrypted-02.state)
->encrypted-03 (statefile encrypted-03.state)

every 3 encrypted server belongs to the same secret.key

just of interesstint, how many dns request do you await?

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

Successfully merging a pull request may close this issue.

2 participants