From Media Design: Networked & Lens-Based wiki
Jump to navigation Jump to search

There are 2 961 041 blocks in my database.

Typically, a geolocation database entry is composed of a pair of values, corresponding to the integer representation of the minimum and maximum address of a block. Each block is then associated with several information helpful for localization: country code, city, latitude and longitude, and Zip code.

Most of the IP blocks from Maxmind correspond to subnets smaller than /25. In essence, Maxmind entries substantially differ from BGP ( and official allocations by more than 50% from a blocks size perspective.

The ids follow each other in order, therefore i need to look for ip groups between the entry found and the one that's next in the database