Wikipedia use a PowerDNS with Geobackend to serve clients from the closest server.

I have a similar service running for my http://static.natalian.org site. I want it in order to serve large HTML5 video files efficiently between my servers.

To set it up is quite easy. I setup A records like so:

   eu.static.natalian.org 88.198.3.35
   us.static.natalian.org 67.205.62.95
   *.static.natalian.org 67.205.62.95

Then for static.natalian.org I set a CNAME to the third party GEO PowerDNS service running at natalian.geo.blitzed.org.

The rules for how it maps onto country codes can be found from:

   rsync -v rsync://rsync.blitzed.org/geo-maps/natalian .

To scale further to Asia, I would rent a server in Korea and I would rsync the data and setup an Apache vhost to serve static.natalian.org from the new Korean IP, say 143.248.5.130. Then I would simply add:

   as.static.natalian.org 143.248.5.130

Here are two reasonably priced DNS service providers that offer Geo targeting: http://edgedirector.com/ and http://www.geoscaling.com/

The second one seems more inviting and better organized. I have not tested either of these services.


Here is a forum topic on it. Many providers are mentioned.

http://www.webhostingtalk.com/showthread.php?t=857871