I have multiple servers running nginx reverse proxies pointing to the same ip adress because I need to keep 100% uptime and my service relies on them to hide real ip from malicious attackers and not only.
I was wondering if there is a dns technique or some other sort of magic I could use in order to be able to point a single ip adress or domain name to different ip adress (one of my reverse proxy servers) in case one of them goes down.
I want the user to be able to access my service through one static ip or domain which would then point him to currently working reverse proxy of my choice.
In essence it needs to be able to redirect user to a different ip I would chose and update real fast because if one server goes down he needs to get his traffic to a different one instantly (in perfect scenario). It needs to be DDoS proof because otherwise that'd be pointless to start with.
Im clueless about networking please dont go hard on me, and thanks for any advice