Answer the question
In order to leave comments, you need to log in
Implementation of fault tolerance based on DNS. Transfers between servers. How to fix?
Dear experts!
I'm trying to implement DNS-based failover, described in the article habrahabr.ru/post/177145 . There are two VPS - on Agave and on DigitaOcean. On the agave, the main one and DNS was manually raised there, on the digital ocean there is a backup and the "regular" DNS is used there. At the moment, either the main server or the backup server is opening. site gorabbit.ru/. Why I didn't understand. In the subject, I rummage very weakly, I ask you not to throw slippers. If someone has done this, please send examples of zone files of both servers and an example of a domain delegation record. Thank you in advance.
ip of the main server - 80.78.247.70
ip of the backup - 178.62.205.66
I ask rukhem to pay attention to this issue.
Answer the question
In order to leave comments, you need to log in
This scheme is designed not for a "main and backup", but for a fault-tolerance scheme (when both DCs/servers are equal and can respond to requests on their own if the second one crashes).
As an option, raise haproxy / nginx on the backup server, which in a normal situation will proxy requests to the main server, and if it crashes, proxy to the localhost.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question