3 ms·
We've done this at Clever, if you're interested: https://github.com/Clever/resolve-ip https://github.com/Clever/resolve-ip We use the same dataset that IP info
by azylman 11y ago
We've done this at Clever, if you're interested: https://github.com/Clever/resolve-ip https://github.com/Clever/resolve-ip
We use the same dataset that IP info started with (from MaxMind), although it sounds like they have many different sources now. It's worked fine for us, matches over 99% of the IP addresses we look up, and generally responds in less than 5 milliseconds - basically only limited by network latency.
Right now this is published to a private Docker hub repository, for no good reason, but if people would find it useful we can make it public.