Auteur: Jan Ingvoldstad Datum: Aan: exim-users Onderwerp: Re: [exim] Tricky DNS servers [OT]
On Fri, May 18, 2012 at 11:59 PM, Marc Perkel <marc@???> wrote:
> I have a few weird ideas and would need a smart DNS server of some sort to
> pull it off. Basically looking for a programmable backend that might do DNS
> lookups itself.
>
> Here's a possible example. There are servers out there that return country
> codes of IP addresses. But what about a country code for a host name? You
> would have to do an IP lookup on the host and then use the IP to get a
> country code.
>
> So - is there source code for something like this or a DNS server with a
> scripting language?
What you're probably looking for is an geolocation API. These are usually
very visualization-centric, mostly for the web.
So try gogoduck/google for "geolocation", "hostname" and the name of your
chosen programming language.
--
Jan