IP localization: ip-> location mapping is fixed over time?

I manage a web platform and want to get statistics on where my users come from. I can save the remote IP address, and I know that there are localization services that display the IP address in geolocation.

How to do it? Are there fixed tables, which IP address was specified in which region?

Do I have to request a match at the time of access, or can I request it in a few days / months / years? In other words: Is the mapping from IP to location fixed or does it change over time?

+3
source share
4 answers

The mapping from IP to location changes over time. I read that databases change by 5% every month, although it’s hard to find out if they really change so much or if database providers are more likely to sell their updates. But it is a fact that these databases are changing. Therefore, you should get the IP address location as soon as possible, at least not later than a month after you have captured the IP address.

+5
source

If you want to keep demographic data, you must save country information obtained in place of the IP address because it may change from time to time.

0
source

Ipregistry . , IP . , 24 , .

, RIR ( -) (-) IP-, , ( IPv4), , .

, Ipregistry, IP-, 1 , !

0

Source: https://habr.com/ru/post/1539432/


All Articles