0

I noticed that 'host google.com' returns a lot of IP addresses. But 'host facebook.com' returns only one. I would have figured both to either use one, or both to use several since they're both incredibly popular.

What's the reason for this?

Edit: Maybe it was a poorly worded question. I was operating under the assumption that services had numerous IP:s for performance reasons. I realize now that multiple IP:s can be because they support multiple protocols, socket types etc.

closed as off-topic by Mike Pennington, Ricky Beam, Brett Lykins, Craig Constantine Sep 8 '15 at 20:32

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "NE is a site for to ask and provide answers about professionally managed networks in a business environment. Your question falls outside the areas our community decided are on topic. Please visit the help center for more details. If you disagree with this closure, please ask on Network Engineering Meta." – Mike Pennington, Ricky Beam, Brett Lykins, Craig Constantine
If this question can be reworded to fit the rules in the help center, please edit the question.

  • You'd have to ask them. We are neither google nor facebook, and, thus cannot provide an authoritative answer. – Ricky Beam Sep 6 '15 at 22:27
1

Facebook might have only one IP, but it can 'represent' different physical servers. For example, in North America it would get you to datacenter in North America if it's up and running. In Europe it would get you to DCin Europe, i.e closest to you. This is anycasting and is governed by BGP.

Google might have multiple A records in DNS for one domain. And this is a DNS round-robin, which is another redundancy mechanism.

This might be a bird view on very complex problem of creating a redundant service. You can start with wiki https://en.wikipedia.org/wiki/Anycast and https://en.wikipedia.org/wiki/Round-robin_DNS

Not the answer you're looking for? Browse other questions tagged or ask your own question.