3

So, I know how a CDN works in principle and how it works from a customer's perspective. My question is more about the root of how they work, the routing. My limited knowledge points to just some fancy DNS work. Something along the lines of Geoipdns. Is that about right?

So, if I wanted to create my own little CDN, the practicality of which is beyond this question, and I had servers on west coast, central and east, then all I would need is my own DNS servers that looked at the incoming ip, mapped its location and routed accordingly, yes?

1
  • 1
    They work by misusing the DNS system :)
    – phoebus
    Jan 13, 2010 at 21:15

2 Answers 2

2

Yes.

I doubt serverfault is gonna let me hit submit on a 4 character post though... so ahhh... also they'll usually bgp-anycast the ip's of the dns servers so that it can both be fault tolerant and have a good default-guess at which location you're going to be closer to.

0
0

Basically yes - although some smart ones are placed in specific locations to optimise delivery - ours are anyway.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .