+ 2
IP lookup API optimization
I'm trying to limit my number of requests to an IP geolocation API, I want to know if this will accurately determine user country; My IP table Id |-----ip-----| Country| 1 |Â 1.194.121.200Â | USA If I have the above in my Database, can I use same country for an IPÂ (1.194.208.105)Â having same integers in their first two octets, to avoid another API request?
1 Answer
+ 3
I just checked and the answer is no!
5.149.63.0/24 belongs to Localnet AG, Switzerland, but 5.149.64.0/24 belongs to AVAX.net, Bosnia and Herzigowina.