2020-01-20 01:55:19 +02:00
|
|
|
# Country IP Blocks
|
|
|
|
|
|
|
|
These have a thousand and one uses but are surprisingly hard to come by in
|
|
|
|
bulk.
|
|
|
|
|
|
|
|
* IPv4 and IPv6 ranges available.
|
2020-01-20 14:31:06 +02:00
|
|
|
* Compiled directly from AFRINIC, APNIC, ARIN, LACNIC and RIPENCC data.
|
2020-01-20 01:55:19 +02:00
|
|
|
* Deduplicated and subnets merged for efficiency.
|
|
|
|
* Simplified and sorted by country TLD.
|
|
|
|
* CIDR notation.
|
2020-02-04 01:02:53 +02:00
|
|
|
* Updated hourly, commits only appear when there are changes.
|
2020-11-22 22:08:42 +02:00
|
|
|
|
2023-10-30 00:00:45 +02:00
|
|
|
## Note
|
2020-11-22 22:08:42 +02:00
|
|
|
|
2023-10-30 00:00:45 +02:00
|
|
|
There are more than a dozen commercial IP geolocation database providers, and
|
|
|
|
the accuracy of each provider is different. They get IP address information
|
|
|
|
from the RIRs, but the assignment changes regularly as some companies release
|
|
|
|
unwanted IP addresses and others obtain a new block of IP addresses.
|
|
|
|
|
|
|
|
The blocks of IP addresses assigned to many companies can, in turn, assign them
|
|
|
|
to their users however they want without geographic boundaries. This makes
|
|
|
|
pinpointing geolocation of an IP address rather difficult. The accuracy of
|
|
|
|
geolocation data differs by provider. You can generally expect a 95% to 99%
|
|
|
|
accuracy for the country level. The more granular you get, the less precise the
|
|
|
|
data becomes.
|
|
|
|
|
|
|
|
This projects downloads the information directly from the local RIRs and is as
|
|
|
|
accurate as the data provided. More often than not, the country attached to an
|
|
|
|
IP range is the one the registering company is located in. There is no reliable
|
|
|
|
way to determine the physical location of any IP without tracing it separately.
|
2023-11-24 12:03:12 +02:00
|
|
|
|
|
|
|
For an alternative source, please see the companion repository which is likely
|
|
|
|
more accurate with regards to the expectations of many users.
|
|
|
|
|
|
|
|
<https://git.herrbischoff.com/country-ip-blocks-alternative/>
|