by s353 · 13y ago · 0 comments
Another thought is you could potentially use these as general purpose DNS servers; e.g. they are all Amazon EC2 I believe so with respect to the DNS-based geolocation efforts of many websites, you'd be treated as if coming from the location of whatever region the datacenter is in. Just add the top 100/1000/10000/1000000 sites to your HOSTS file.
wut? how does dns based geolocation work? you seem to be saying that sites assume you share the physical location of your dns server?
Note: It's certainly possible to share the exact same location (or interface, to be more precise) as your DNS server. I run my own personal DNS cache on localhost. It's not unheard of. I'd guess there would be a few other readers of HN who do this as well.
Or can you supply a reference/explanation for how'd they'd know my DNS servers?
Your ISPs recursive DNS servers send off a query to the sites authoritative servers, which in turn look at the source IP address. That's how they know. (Source: I've built a few CDNs)
now, typically, dns is configured so that your dns requests go to servers that are "near" you on the network.
so, say you're looking for google.com. the dns server near you will be configured to say that google.com is a server near you (and near the dns server). effectively they are inferring location from dns lookups (and then providing you with a nearby source).
this is completely different to looking up the requesting ip in a database which is what i originally assumed was being discussed (hence my confusion and perhaps yours). but it (this process for choosing cdn providers) does seem to be called geolocation by cdn people (just google "cdn geolocation").