Note: This is a follow-up to my previous question regarding DNS Failover.
The Goal: to make the client's web browser select the next available server if one is down instantly.
I've read somewhere that multiple A records (while not the best solution) is the only "instant failover" solution possible for HTTP/browser-based applications.
Here's the scenario/example:
I have two servers A and B which contains exactly the same content. The IP address of server A is 184.108.40.206 and 220.127.116.11 The IP address of server B is 18.104.22.168 and 22.214.171.124 I have a domain registered at Godaddy. If I want to make use of DNS round robin, which method is best?
Method 1: Do I set my nameserver entries at Godaddy like this?
Method 2: Or do I make Godaddy as my nameserver and add A Records like this:
- A @ 126.96.36.199
- A @ 188.8.131.52
- A @ 184.108.40.206
- A @ 220.127.116.11
My question is, will DNS round robin work with either of the two methods? If not then what's the best method to achieve the goal?