Answer the question
In order to leave comments, you need to log in
One domain for several proxy servers?
Hello, there are several servers on which proxy servers are installed! I want to bind them all to one domain for ease of use, is it possible to make it so that if one IP is unavailable, another IP from the list is immediately issued? Ports on all proxies are the same!
Answer the question
In order to leave comments, you need to log in
It is possible to make through ns of the server of the domain. Register each ip as the main one, and then they will change
This task can be solved without DNS
If proxies are used in the browser, then it is easier to use the proxy.pac script
for other cases, on the client you can deploy a proxy server with a redirect ( 3proxy with the parent option )
Yes, you can specify 3 And records in the DNS to different servers then they will go either according to the list or according to availability, I don’t remember exactly what, but the balancer in nginx has already given you a link
https://nginx.org/ru/docs/http/ngx_http_upstream_m ...
This can be done by DNS by creating three A records. Servers will be given randomly.
But it is also important to check the availability of all three, and if one of them has fallen, then you need to delete the corresponding A record before restoring its work.
Otherwise, users will go to a non-working server and fall off.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question