mailing list archives
Re: Question regarding anycasting in CDN setup
From: Brett Watson <brett () the-watsons org>
Date: Wed, 8 Feb 2012 12:04:22 -0800
On Feb 8, 2012, at 11:58 AM, Anurag Bhatia wrote:
I can also have a single DNS
server give 192.0.2.80 out to queries sourced from a US IP Address,
198.51.100.80 for queries sourced from a German IP Address and
203.0.113.80 to queries sourced from a Chinese address (djbdns has a
module for this for example).
I have never did such setup, but I assume it works as you say. I wonder how
it finds a US based system from IP quickly (since it's DNS server)?
Here is *one* method if you obtain a feed of geo-ip data from someone like Maxmind:
Several DNS providers have different methods and different geo-ip data vendors.