On Wed, 2010-07-21 at 13:54 -0400, Mike Rathburn wrote:
> This is kind of general in scope, but just want to see if it's possible or
> done currently...

Yes it's possible many do that now. Gentoo does it via DNS service from
UltraDNS.

> Let's say you have a site that will get traffic from both the US and the UK.
> What would be the best method for making sure that a browse request from the
> US would pull up the site located at a host in the US, and the same for the
> UK browsers and directing that traffic to a host located in the UK?

See Bind GeoIP, its new stuff
http://code.google.com/p/bind-geoip/

http://www.google.com/search?q=bind+geoip

> If you have a clustered Apache environment, would this kind of thing be
> handled automagically?

Clustered in what form? Clustered Apaches all residing in the US,
totally moot. An apache cluster distributed in multiple locations
through the world, serving content locally vs from far away, would make
more sense. But then your more individual clusters, vs clustering all in
different locations. Though you could go about it many different ways.

> Would all traffic pass through a single DNS server, and based on the IP
> information send the request onward to it's respective geographic locale?

I believe thats the general idea. You could have more than one DNS
server, both with the same setup. But I do not think you have any
initial control over which DNS server gets queried initially. Not sure,
not that familiar with DNS to be able to drive requests to a local DNS
server.

Once requests hit a DNS server, based on IP of the request, you can
return different results.

> If so, then where should the DNS server reside?  This side or that side or
> both?

Not sure there, both couldn't hurt, and I would assume it would query
the closest one, first one to respond. Probably need to research that
more to give a definitive answer.

> If you registered mysite.co.us along with mysite.co.uk, is it possible to
> decipher where to send the traffic based on the requestor's IP or locale?

Yes the entire point behind GeoIP patch for Bind.

I am looking to do something similar but only in the US, since I have
clients on the West and East Coasts. At some point will build another
network out in California, do replication, fail over, and on a normal
basis serve up data locally. West coast traffic to west coast servers
vice versa for east coast traffic.

-- 
William L. Thomson Jr.
Obsidian-Studios, Inc.
http://www.obsidian-studios.com

Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited.


---------------------------------------------------------------------
Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
Unsubscribe  [email protected]

Reply via email to