01-28-2017, 08:38 PM
(01-28-2017, 07:11 PM)david Wrote: @Ofnuts,
You tell me that if I put two IP's only the first is used. For my education, what happens if the first server is not available - will it ignore the second IP?
As I said previously, I am a complete novice when it comes to these things!
david.
I don't think there are two servers. It is more likely one server with two IP addresses (possibly some networking redundancy in the data center).
name resolution through your /etc/hosts file isn't dynamic, it gives you one address and that's all. If the server at that address doesn't work, nothing will make it consider the other address.