V
V
Valentin Sosnov2015-02-16 10:56:16
Domain Name System
Valentin Sosnov, 2015-02-16 10:56:16

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

3 answer(s)
V
Vlad Zhivotnev, 2015-02-16
@inkvizitor68sl

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.

V
Valentin Sosnov, 2015-02-16
@frozone

rukhem please help in this matter

R
rukhem, 2015-02-16
@rukhem

well everything is right

domain: GORABBIT.RU
nserver: ns1.gorabbit.ru. 80.78.247.70
nserver: ns2.digitalocean.com.
What's the problem ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question