At ultradns.com or on comwired.com you can select multiple A records depending on location;
x.com (United States) 174.1.1.1
x.com (Europe) 65.2.2.2
So requests are routed based on proximity/where they come from.
You can do that as many times as you like, which is a great service for our distributed application needs.
However, we want to manage this on our own servers. Do you know any linux package that does this ?
Best Answer
There are patches available to do GeoIP in various DNS servers.
Bind: http://www.caraytech.com/geodns/
Good writeup of Bind patches, includes RPMs: http://www.devco.net/archives/2006/07/11/location_aware_bind.php
djbdns: http://www.anders.com/cms/276/tinydns.GeoIP.patch/djbdns/Geographically.Aware
Also interesting is this hack, which involves not patching Bind: http://phix.me/geodns/