Question regarding anycasting in CDN setup

Brett Watson brett at the-watsons.org
Wed Feb 8 20:04:22 UTC 2012


On Feb 8, 2012, at 11:58 AM, Anurag Bhatia wrote:

> Mike
> 
> 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:

http://phix.me/geodns/


Several DNS providers have different methods and different geo-ip data vendors.

-b



More information about the NANOG mailing list