/go-ip-lookup

Quick and easy microservice I wrote/used to verify IP geolocation. Uses IP2Loc DB.

Primary LanguageGo

ip lookup

Quick tool I wrote up for IP lookups using the IP2Loc DB.

To use

Download the 'IP2LOCATION-LITE-DB9.BIN' from their site, to /data/db/.

You can access the IP lookup by navigating to

http://localhost:8080/ip/{ip_address_to_lookup}

or if a remote machine would like to lookup their IP:

http://{ip_of_go-ip-lookup_host}:8080/ip/myip

Post requests with multiple IPs coming soon