[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [pacnog] Ways to direct traffic based on geographic location
Raymond/Gaurab,
DNS Views sounds promising. I am running BIND9 on all of our DNS servers, so I will definitely be looking into that option.
It is a dynamic site with a SQL backend. The client is adamant about the off-island replication, even though I stressed that the SQL updates (even incrementals) over satellite would be a bottleneck.
Thanks for the input! =)
- Alo
________________________________
From: Gaurab Raj Upadhaya [mailto:gaurab@lahai.com]
Sent: Mon 7/10/2006 4:23 PM
To: Alo Anesi
Cc: PacNOG
Subject: Re: [pacnog] Ways to direct traffic based on geographic location
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
On Jul 9, 2006, at 11:47 AM, Alo Anesi wrote:
> All-
>
> I've got a customer who wants to mirror their website off-island,
> and I was wondering if there was a good way to direct requests to
> that site by geographic location. For example, for customers on-
> island I would like them to hit the local server. All other's
> should go to the remote location.
>
Is this a dynamic web content or static ? or semi-static (i.e,
database backend, and a fixed update period. ? static and semi-
static sites are easy.. the hard ones are the dynamic ones.
> Now, this is a specific situation, but does anyone know of a more
> general way to route packets based on the source address and
> rewrite the destination address?
>
We use dns-views to re-direct web content over to different servers
based on where it's originating from. In case of it coming through
the IX, we give them a local IP. If the request is coming from an IP
not present at the IX, we give them an overseas IP address.
And of course, the NS server are present on both sides of the
satellite, so people on other end of the satellite don't have to
traverse the satellite for DNS queries.
The list of IPs is dynamically generated every half hour by doing
diffs of routes we are seeing at the local IX.
-- gaurab
/////////////////////////////////////////////////////+9779851038080
gaurab at lahai dot com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEsxnDSo7fU26F3X0RArmnAKCTOVkLPiwYenGmMHW9zP082y+h3gCgk+2b
6nRBApVtTuPB0Zhs9oru7oc=
=zWZK
-----END PGP SIGNATURE-----