Forum Moderators: mack
I found a list reputing to cover IP ranges in the UK. (Other countries were also available.) Would it be reliable to use this?
The list offers these ranges (eg: 25 = 25.0.0.0 upwards):
25
51
62
80-86
135-138
158
192-196
199
204
212-213
217
I checked the IP range of my machine and it started with 143 - yet this is not in the list. Do I assume (since I'm on a network) that it's a NAT range that is converted by the main hub to a general one? (I know routers can do this to cope with the demand for IP ranges by making virtual ones.)
My code so far checks for forwarded, proxy and remote IP ranges.
Note: I do not intend blocking content based on IP range. I am just trying to clarify country usage.
It depends on the size of the country you want to use the data for.
Mack.