What is IP-based geolocation?
IP-based geolocation is a technique used to estimate the real-world geographic location of a device through which you are connected to the Internet, based on its IP address. This mechanism only works if the IP address of the device appears in a database along with its corresponding location. Examples of the level of detail that can be registered in the database include the postal address, city, country, region and geographic coordinates of the location where an IP address is being used.
How can I obtain information about an IP address or an IP address range?
All IP address ranges assigned in Latin America and the Caribbean are registered in the LACNIC database and can be queried through the Whois service.
Check the following link for further information: https://www.lacnic.net/1002/1/lacnic/whois
Each organization provides information in the service agreement that it signs when receiving resources from LACNIC. It is this information that is obtained through the Whois service. This means that the city and the country obtained through a search using the Whois system might not match the actual location where the numbering resources are being used. LACNIC has developed Geofeeds, an IP geolocation service that uses updated information from different organizations across the region.
In addition to the information obtained via Whois, there are many commercial providers of geolocation databases. LACNIC is not responsible for the content of such databases.
Why would someone want to know the real-world location of an IP address or range of IP addresses?
Many websites and online services must be able to identify where their visitors are located for a number of reasons: to display the website in the user's native language, to automatically complete online forms or to produce better search results based on the user's location.
Many sites that distribute multimedia content need to know where their users are located to restrict access based on each user's geographic location, as they are bound by their contractual agreements with the owners of the broadcasting rights.
In many cases geolocation is also important to keep some users from abusing online services by offering e-commerce websites tools to reduce fraud or to limit their services to specific countries or regions.