How to set DNS Round-Robin strict order?

There is a server it has 2 static ip addresses, but each ip being the second is in reserve when the first online, (returny provider), in 2domains at the moment to the N domain as A record specified one of the first IP addresses which are often online, but when specifying 2 A records, the second of which a second address, then the address to the domain ip addresses are given randomly in order the first record of which can be the ip address in reserve, is it possible in any way to indicate in A record the order in which ip addresses should be given to the client, ie to establish a strict order for Round-Robin.
July 9th 19 at 14:03
2 answers
July 9th 19 at 14:05
And not simply through ns, indicating the IP if you 2domains?
ns1.youdomains.tld ***.***.***.*** <- 1 ip
ns2.youdomains.tld ***.***.***.*** <- 2ip
ns3.youdomains.tld ***.***.***.*** <- 3ip
But as I understand, on the server you must have configured a bind or similar dns server names? - Kira.Gleichn commented on July 9th 19 at 14:08
If you have a server, Yes. - carlee.Schulist commented on July 9th 19 at 14:11
July 9th 19 at 14:07
To specify the order impossible, it is a very blunt instrument.
And you, judging by the question, use for the task, not the tool. Round-robin DNS to use when your frontend server is just not physically able to handle incoming connections in a reasonable time (in other words, when you Google). For your same task is, for example, Amazon Route 53 or Elastic IP (a concrete solution to the problem depends).

Find more questions by tags Domain name system