What happens if I just add a second IP to a domain?
Posted
by
tntu
on Stack Overflow
See other posts from Stack Overflow
or by tntu
Published on 2012-10-31T16:59:12Z
Indexed on
2012/10/31
17:00 UTC
Read the original article
Hit count: 179
We have two servers that are in constant sync.
We have two applications that connect to them. Each app to different server.
We devised a new version of those apps that will read a dns entry and get a list of IP addresses and try them in order.
Now problem is old apps. We have noticed that some ppl still use the old ones even if we have released the new.
- If we were to add two IP's to each domain would they receive the IP's in the order we set them or random?
Either way it will still work for us but I'm just curious.
- If first server goes offline will the client application try the other?
To be noted for old version:
Interruption does not affect in any way the continuation once connection is reestablished. Each communication is independent of previous ones.
Applications connect at set intervals of time anywhere between 5 seconds to 1 hour.
Connection is done simply using an http post to the URL in question.
© Stack Overflow or respective owner