Y
Y
Yuri Denisov2014-04-04 06:26:16
Domain Name System
Yuri Denisov, 2014-04-04 06:26:16

How to configure DNS for failover?

Good afternoon!

I want the server to be as fault-tolerant as possible for sane money.

Given: 2 servers in different DCs with different IPs.

I want to try to do this:

Register the ns server of the Yandex server at the registrar + register the ns server of another dns hosting, for example, cloudflare. So that if Yandex refused, then the requests went through cloudflare. I will duplicate the records for both hosting DNS and enter two ip addresses in the A record so that it can be sent from server to server.

It turns out that ns of the server should look something like this?
1) dns1.yandex.net
2) dns2.yandex.net
3) ns1.cloudflare.com
4) ns2.cloudflare.com
And two A records for each host? Will such a scheme work? And what negative consequences can be expected from it?
PS Replication of base will be master - master. Plus synchronization of files in two DTs.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2014-04-04
@opium

your main problem is not in dns, but in master replication and synchronization.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question