Wrong IP Location? How to Check and Correct Geolocation

See why IP lookup tools show different cities or countries, distinguish registry data from location estimates, and prepare a geolocation correction request.

City lights in the US Midwest and an aurora on the horizon, photographed from the International Space Station

You are in Shanghai, but an IP lookup shows another city. Two websites query the same address: one says the United States, the other says Canada. Seeing such results, the immediate thought is that one database must be wrong. But before comparing databases, it is worth confirming: are you comparing the same address, the same kind of location, or several fields that sound similar but mean different things?

IP geolocation is an estimate of where a network address is, not device location. Different platforms may use different data sources, update times, and location granularity; when locations disagree, first verify the address and fields before deciding whether a correction is needed.

This order matters. Otherwise, you might mistake your network egress location for your own position, or use the registration organization's location to dispute city-level geolocation, and end up submitting a correction request for the wrong place.

"Attribution" can mean four different things

Many lookup pages simply state "country," "region," or "location" without explaining what the data means. In fact, the following pieces of information are not interchangeable.

What you see

What it describes

What to check when comparing

IP geolocation

Database-estimated usage location or network egress location of the address

Whether there is a location range, confidence level, and update time

Resource registration information

Registration records of IP address resources and related organizations

Registration data is not proof of the end device's location

Browser or device geolocation

Device location obtained after permission is granted

May use GPS and other device capabilities, not just IP lookup

Localized content provided by websites

Regional content selected by the service based on its own logic

May also be influenced by account settings, language, or history preferences

ARIN's introduction to Whois/RDAP explains the purpose of querying registration information. It is a different data layer from geographic databases that estimate "where this address is currently in use."

MDN's Geolocation API documentation explains that a website, with the user's permission, can obtain location through the device's available positioning capabilities. Therefore, a map application knowing which street you are on does not mean another IP lookup website should provide the same precision.

Why does the same address yield different location results?

Address usage has changed, but databases do not necessarily update at the same time

Address resources may be reassigned, subleased, or used for new network egress. Location services require their own processes to detect changes, verify them, and publish updates; websites that use offline databases also need to actually deploy new versions into their own systems.

Therefore, "the data provider has corrected the record" and "every website using this data has updated" are two separate things. Persistently seeing old results can happen either at the data provider or in the user's local database or caching layer.

There is no fixed update interval that applies to all platforms. You cannot conclude that a submission was ineffective just because nothing has changed after a day; nor can you promise that after correcting one source, other platforms will synchronize at the same time.

Network egress is not necessarily near the user

Mobile networks, corporate networks, and VPNs can separate the device's location from the public egress location. Geographic databases can sometimes determine the egress location well, but cannot use that to locate the person using that egress.

MaxMind's geolocation accuracy documentation specifically discusses scenarios such as mobile networks and privacy networks, and clearly states that IP geolocation data is insufficient to identify a specific household, individual, or street address.

So if a person is in city A and the egress is located in city B, it is not necessarily a connection anomaly. First clarify whether you want the device's location or the network location as seen by external services.

Two platforms provide different levels of precision

One platform giving a country while another gives a city does not mean the latter is necessarily more accurate. A more granular field may just be a representative point within a range; the page not showing a location radius does not mean that radius does not exist.

Even if a map marker appears to fall on a particular building, you cannot infer that the server or user is in that building. More decimal places in longitude and latitude only increase display precision, not data accuracy.

If the data source provides a location range, read the point and range together. If it does not, avoid interpreting a city name as a position verified on site.

Same network name does not mean every address has the same purpose and location

An operating organization can run business in multiple locations. The same ASN may also contain address blocks in different regions and for different purposes.

Organization names and ASNs help verify network context, but cannot by themselves locate all addresses in a network to a single city. A city abbreviation in reverse DNS is only a clue; hostnames may retain old naming and cannot replace other evidence.

Before troubleshooting, confirm the "same IP"

The most common comparison error is often not in the database but in the query target.

First copy the complete public address, not just remember the country and operator. Especially confirm whether two pages show IPv4 and IPv6 respectively: they are not the same address and should not be directly used to measure whether two databases agree.

Also record the query time and confirm that network settings did not change midway. Automatic proxy route selection, mobile network reconnection, or different proxy rules used by the browser and other applications can change the observed egress.

You can first record the current result via IP lookup, then compare using the same address as an explicit query target. If you enter a domain name, note that it may resolve to multiple addresses; comparing different servers returned by a domain is not comparing the same IP.

How to organize location differences into an actionable problem?

Piling up screenshots and saying "you're inaccurate" is usually less useful than the following set of information.

  1. The complete queried IP, and whether it is IPv4 or IPv6.

  2. Query time and time zone, to avoid treating results from different times as simultaneous observations.

  3. Field names for each result: registered country, geolocation country, city, or other location.

  4. Data source, version, or update time; if unavailable, state that it was not provided.

  5. Where you believe the error lies, and the materials supporting that judgment.

For example, "two platforms show different geolocation countries for the same IPv4" is more specific than "the two websites show different locations"; "the block newly assigned to us still shows the previous city" is closer to a problem that can be verified by the network provider and data maintainer.

Materials also vary in strength. Delivery regions in service contracts, statements from network operators, and verifiable resource usage information are usually more indicative than the time zone set in the server operating system. Time zones can be changed and cannot prove physical location.

Whom to contact for corrections, rather than repeatedly submitting to every website

Are you a regular broadband or mobile network user

First ask the operator whether there is a centralized egress, cross-regional gateway, or recent address allocation change. If the network egress is already in another region, modifying the geographic database cannot turn the actual path into a local egress.

If content for only one application appears in an unexpected region while multiple IP databases agree, also check that application's location permissions and account region settings. In that case, the problem may not lie with the IP database.

You have rented a proxy, VPS, or fixed public address

Ask the provider to explain the actual delivery method and region, and verify whether the address has just been migrated or reassigned. Do not use the region option on the sales page alone as final evidence of location.

If the correction concerns an entire prefix, it is usually more appropriate for the network operator controlling the resource to handle it uniformly. Geofeed can help network operators publish prefix geographic information, but RFC 8805 explicitly reserves room for users to verify authority and accuracy; publishing a file is not a mandatory update instruction for all databases.

You already know which data source is incorrect

Use the official channel of that data source. For example, MaxMind provides a geographic data correction entry in its documentation. Submit verifiable facts as required, rather than asking it to change the address to the region you want displayed.

Correction is about bringing data closer to actual usage, not about fabricating false attribution to a country or city. When submitting, you also do not need to disclose your precise home address, account passwords, or admin panel screenshots; provide only necessary information to a trusted recipient.

After correction, how do you confirm the problem is truly resolved?

Keep records from before submission, wait for the maintainer to confirm processing, then query the same address and the same field again, and check whether the originally affected website has also adopted the new result. The two may not be synchronized.

If the IP data has changed but a service still shows the old region, shift the issue to the service user: does it use another data source, does it keep a cache, or does it still have account-level region settings? Continuing to modify already correct data often does not help.

As for whether the service is usable, that needs to be verified separately through Service connectivity tests and normal actual access. Correct location does not mean the service is necessarily open; service accessibility also cannot in turn prove that the city location is correct.

IP geographic information is suitable for helping you understand network background, spot obvious deviations, and initiate corrections. Treat it as a judgment with source and accuracy boundaries, rather than a street-precise proof of address, and it will be closer to its true purpose.

Transnational networks with different located countries: registration country, Anycast, and egress location

Consider a hypothetical scenario: a multinational service provider registers address resources in Canada, actually deploys services in the United States, and commercial location databases and registration lookups therefore show different countries. Here there is no need to assume Anycast, nor can you determine Anycast solely from country differences. You should first distinguish whether you are reading the registration country, a commercial location estimate, or a service node actually observed in a particular request; they describe different facts, and you cannot judge who is wrong based only on 'two countries being inconsistent'.

Registration country comes from resource registration records in the RDAP or Whois database and describes the administrative ownership of the address block, not the region where end devices are located. For example, an address range registered in Canada but long used by a US data center may get a US city from a geographic database, while the registration country still shows Canada. The two are different fields and should not be directly compared. When viewing multiple query results, first confirm whether the page label is 'country', 'registered country', or 'location'.

Anycast is another possibility that requires independent evidence. The same service address can be served from multiple locations, and routing policy determines which instance the current request reaches, but does not guarantee selection of the physically nearest node. Only when supported by operator statements, multi-location measurements, or instance identification can you appropriately discuss Anycast's impact on location. Two commercial databases showing different countries by itself neither proves Anycast nor rules out stale databases, allocation changes, or ordinary multinational deployments.

When verifying, first check the RDAP organization, scope, and events, then use BGP observations as routing background. A single ASN can cover multiple countries, and multiple origin ASNs for the same prefix also have various explanations; none alone can determine the city where the service is located. If you can obtain the operator's regional notes, a maintained Geofeed, or multi-point measurements, note the time and scope of each and narrow the judgment step by step, rather than using the registration country to directly negate commercial location.

When troubleshooting, record the complete IPv4/IPv6 address, query time, and the field names given by each platform. If an address belongs to Anycast or a multinational cloud network, do not rush to submit a correction; instead look at the prefix's route announcements and the network operator's public documentation. Any judgment that 'this is definitely wrong' requires combining registration information, BGP observations, and actual egress evidence. For more on the relationship between RDAP, ASN, BGP, and location evidence, read RDAP, ASN, BGP and RPKI: What IP Lookup Data Can Prove.

Correction request: evidence hierarchy, time records, and propagation boundaries

Correction materials must match the specific field. The operator's deployment notes for that address range, a maintained Geofeed, and service delivery region can provide usage location clues; latency, traceroute, and reverse DNS provide auxiliary observations. BGP control-plane records do not directly give the physical location of a server and cannot be listed as definitive evidence of the data center location. All materials should be checked for authenticity, update date, applicability, and whether they target the current address, rather than setting a one-size-fits-all authoritative ranking.

Weaker but referenceable materials include user reports, server operating system time zone settings, and website content language. Operating system time zones can be changed arbitrarily and cannot prove the device's physical location; website language or account region settings more likely reflect content preferences rather than IP attribution. When submitting a correction, do not upload your precise home address, account passwords, or admin panel screenshots; provide public or operational-side information sufficient for the data maintainer to judge the address's usage location.

Record the timestamp and time zone for every lookup. Consider this hypothetical example: an address is reassigned to a new region in March 2024, but the geolocation database still has not been updated in May. A January screenshot may therefore be outdated evidence for a correction request. Results for the same address on different dates can help distinguish a sudden update in one source from changes spreading across several sources. Provide a timeline of the old and new records, identifying the source of each result. This helps the maintainer check the evidence; it does not guarantee that the correction will be accepted or processed within a particular time.

Data providers and website operators are different links in the update chain. Data sources such as MaxMind and IP2Location may update their databases first, but websites using that data still need to download, deploy, and possibly set caches. Therefore, if a data source shows new results while a particular website still shows old results, it does not necessarily mean the data source has not been updated. In such cases, you should verify separately: whether the data source has been corrected; which version the website is using; and whether the website has its own caching or fallback logic.

No correction channel should promise that "after modification, other platforms will sync within a fixed time." Publishing a Geofeed or official correction is merely the starting point of the data update chain. Some offline databases may release updates only every few months, and some websites may use self-built or third-party data rather than directly subscribing to a data source. You cannot expect a single submission request to change all query results simultaneously. After a successful submission, you should query the same address and the same field again after the new version is released, and confirm at least two independent time points. If a platform indeed does not update for a long time, you should ask about that platform's data usage rather than repeatedly submitting data that is already correct.

Finally, the goal of correction is to make data closer to actual network usage, not to change the address to the country or city you want it to display. If evidence is insufficient to prove the location is wrong, or if the data source has indicated that the address belongs to Anycast or dynamic egress, continuing to submit may not be effective. You can learn more about how geographic databases are updated and validated through Data sources and methodology.