geoip-enabled authoritative dns server is quite easy to find - bind9 with patch can do it, powerdns as well. but the problem starts when server receives DNS query from global public resolvers like google's the request might come from ip in completely different geolocation location than the actual user. queries from google can carry that information.

do you have any experience with running servers that handle edns-client-subnet and provide answers depending on the geolocation of the client? what [reasonably stable] open source dns servers provide that functionality?

i've found so far one - gdnsd.org but i'm curious to hear about your experience and alternatives.


  • [pa][2]t[ch][3]. WTF?
    – cnst
    Apr 22, 2014 at 2:58
  • @cnst any problem with that?
    – pQd
    Apr 22, 2014 at 18:54

1 Answer 1


The experience is that you will not handle anyone doing company networks for larger companies or VPN to start with - the idea of geolocating at the DNS level is a hack at best.

I have a room full of people in Poland that would have all traffic routed to Toronto if I would not - ah - "interpret" the regulations of my business partner and not put in the proxy information. Whenevr I travel, my traffic routes through my office via VPN - have fun geolocating me in France when the traffic originates in Poland.

  • as hacky as it might be it seems to work alright for most of the cases; i understand it'll never provide me with perfect assignment of users to datacenters, but i want to take some steps to minimize it at least [mostly for those using opendns, google's dns etc].
    – pQd
    Nov 16, 2013 at 12:41
  • 1
    Your answer isn't useful at all. What the question asks if different than what you're bringing up. In your scenario, you'd experience a performance drop regardless. This service wouldn't be for someone like you anyway. Oct 6, 2017 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.