Geolocation and Starlink

By on 30 Sep 2025

Category: Tech matters

Tags: ,

Blog home

Starlink mission. Adapted from SpaceX's original at Flickr.

‘Where are you’ is not an easy question to answer on the Internet. The telephone system’s address plan embedded a certain amount of physical location information in the fixed line network, and a full E.164 telephone number indicated your location in terms of your economy, and your area within that economy. The Internet did not adopt a geographic address plan, which means that you are going to need a lot of additional information if you want to map an IP address into a location at the level of an economy or a city.

Creating and maintaining such collections of geolocation data that maps IP addresses to a geolocation presents some challenges. Even a basic question, such as ‘How are you going to represent a location?’ has a variety of answers. One could use latitude and longitude, but this has its own complications.

What if you just wanted to map addresses into economies? You need a representation of a political map to translate these coordinates into an economy. Or you could avoid these multiple layers of indirection and map IP addresses into economies. However, once you start referring to economies, you run into a new set of questions, starting with the most basic ones of ‘What’s an economy?’ and ‘What’s a uniform way of naming them? Thankfully, these are not novel questions, and we can leverage the work of others to provide some answers here.

There is the group that maintains the ISO 3166 standard, published by the International Organization for Standardization that enumerates a list of codes and dependent territories, using both two-letter codes, three-letter codes and three-digit numeric codes, all maintained by the imaginatively named ‘ISO 3166 Maintenance Agency’, a group of 15 voting experts. There is also the United Nations Statistics Division, a body that maintains several related lists, including the ‘official’ name of each economy, a collection of numeric codes for each defined economy, and a definition of a set of regions (groups of economies or groups of regions).

Why are these geolocation databases useful? There are obvious uses in the ongoing fight against various forms of cyberattacks, trying to de-anonymize the identity and location of the attacker. This information is also used in attempting to enforce various intellectual property rights that are often assigned to rights holders on an economy-by-economy basis. And then there are statistical reports. Economies like to compare themselves to others. But even simple questions, such as ‘How many Internet users are in each economy?’ are challenging to answer without the underlying seed data of a geolocation database.

There are several such IP address-to-location databases out there, but most are either private or only accessible on a subscription basis. In the research world, many researchers have opted for the databases that are more generally available, and at APNIC labs for address-to-economy mappings, we rely on MaxMind and IPinfo for this information.

The Regional Internet Registries (RIRs) also publish a two-letter code in their IP number resource reports, and they are often used as a surrogate for IP-to-economy mappings, but the data quality is low when assessed for quality as a source of geolocation information.

The reason is that it’s based on differing assumptions between the data recording function of the RIRs and the needs of the geolocation function. The RIRs record the economy of the principal office of the entity that was the recipient of the resource assignment. It does not record where these addresses and Autonomous System Numbers (ASNs) are actually deployed on the Internet.

In many cases, where an entity operates within a single economy, the RIR-recorded code corresponds with the economy where the associated addresses are being used. In other cases, where the IP addresses and ASNs are used in other economies, the RIRs provide no indication that this is the case for these number resources. Also, the granularity of the data in the RIR registry is at a level of allocation, but when an assigned address block is divided up by an address holder and used in multiple economies, there is no ability in the RIR data recording format to track this internal subdivision and diverse deployment.

In general, it’s not part of the RIRs’ role to track where these number resources are being deployed. The RIRs’ interest lies in accurately tracking ‘who’ is assigned an address, and not ‘where’ that address is being used.

Measuring ‘market share’

At APNIC Labs, we have been investigating whether the collection of data that we have assembled as part of the measurement work can be used to track the ISP market share within each national economy. We are interested in trying to measure the effective level of inter-ISP competition within each economy. The base of this derived competition measurement is a notional count of end users that are served by each ISP that operates in a national economy.

The measurement process starts with the estimated current population in each economy. The data we use is sourced from the United Nations Population Division. We use the mid-year population estimate from 2024 and apply the 2023-2024 growth rate to the period from mid-2024 to the present day to get an estimate of the current population of each economy on this day.

The second data set we use is the proportion of the population of each economy that is classed as Internet users. There are three possible sources for this data: The World Bank, the International Telecommunications Union (ITU) and the CIA World Factbook. We use the ITU data by preference, but the three data sets are well correlated in most cases.

The combination of these data sets gives us an estimate of the current Internet user population per economy. It should be noted that this is not the number of ‘subscriptions’ to a service, as it attempts to include the number of users behind each subscription. It is also supposed to avoid ‘double counting’, so where a user is part of a broadband service and also has a mobile service, then the user is still only counted once as an ‘Internet user’.

The third component of the data is the ad presentation data of the APNIC measurement program. We use Google Ads to deliver 35M individual ad impressions per day. We use a geolocation database to map each user who received an ad impression to an economy, and use a local default-free BGP routing table to also map each user to their ‘home’ network. At this point, we have now assembled a set of ‘home’ networks (origin ASNs) and the geolocated economy for each presented ad.

Assumptions

In this work, we are making some sweeping assumptions. These assumptions are somewhat questionable, but we’ve been forced to make them in the absence of generally available per-economy data that is published by all economies in a timely and mutually consistent manner.

The first assumption is that Google’s ad placement algorithms apply to all users within a given economy uniformly. In defining the ad campaigns, we attempt to make the placement definitions as generic as possible, so that within each economy, the ad placements are roughly equivalent to a random sampling drawn from all users in that economy. The implication of this assumption is that if an ISP has twice the number of users as another ISP in the same economy, then its users will receive twice the number of ad impressions. This could be stated as: ‘The distribution of ad placement and the distribution of users across ISPs within any economy are assumed to correlate.’

The second assumption is that each user uses a single ISP for Internet access. This is not necessarily the case. For example, a user may use a local mobile service provider for their mobile Internet access and Starlink for their broadband access. We also have a user in their workplace using their workplace’s ISP and using a consumer ISP when they are at home. These days, many users have multiple mobile connections, and it is unclear how these multiple access methods correlate to ad placement, and through that to our measurements. The conclusion is that we can’t account for such situations, and in uniquely assigning each user to a single ISP in an economy we tend to underestimate the user count for each ISP in consequence.

Due to the uncertainties that follow from these two major assumptions, the results we generate have an inevitable level of uncertainty. Some individual comparisons of this data against other sources where we have access to ISP market share data in individual economies point to an overall level of uncertainty of up to 15% or so in our estimates of users per ISP. Large consumer ISPs are still reported as having a large user population in the generated data, but the data for small networks is very uncertain.

The assumption of uniform distribution of ad placements across all ISPs within each economy tends to fail where the number of placed ads in relation to the per-economy user population is low. The best current example of this can be seen with the Russian Federation, where ad placement in this has plummeted since February 2023.

Another general assumption is that all users exist within an economy. This does not hold for users on international flights using onboard Internet services, nor for ships at sea. In general, this factor should be insignificant for this exercise, given that as a proportion of the world’s 4B users (or thereabouts!), this category of users is very small and should not distort the results to any significant extent beyond the already noted estimate of 15% uncertainty. But this general assessment does not hold when the ISP in question operates a service that is not constrained to any single economy, such as a satellite-based service.

Even so, when the satellite service operates as a wholesale service and provides connections as a service to ISPs, then this is not relevant to this form of measurement. If an ISP provides service in an economy using IP addresses that are assigned to that ISP, then the conventional geolocation function will still provide usable results. The situation is different when the satellite operator provides its own retail services, using IP addresses that have been assigned to that satellite operator. This is the case for Starlink.

Starlink data

The basic assumption here is that all IP addresses are used within an economy. But this is not necessarily the case with users who are connected by a satellite service. What is the economy when the IP service is provided to a ship on the high seas?

There are always exceptions to any generalization, and some economy views that are generated in this manner just stretch credibility too far.

Take Yemen, for example. An economy with an estimated population of 10M people and 3.4M Internet users. The method described above gave the following result at the end of September (Figure 1)

Figure 1 — AS/population report for Yemen from 22 September 2025.
Figure 1 — AS/population report for Yemen from 22 September 2025.

This measurement result is highly unlikely. It has been generated because over the past 60 days, some 321,000 measurement advertisements originated from IP addresses that have been assigned to Starlink, and Starlink’s geodatabase geolocates these addresses to Yemen. The other three service providers appear to be the incumbent telco, Yemen Net, and a local ISP in Aden, Aden Net. The Cloudflare measurement is likely due to a combination of the local use of Apple’s Private Data Relay and Cloudflare’s Warp product. Together, these three providers accounted for some 210,000 ad presentations over the same period. The result is that the algorithm we use assigned some 6M users in Yemen (or 60% of the economy’s Internet user population) to Starlink!

What factors might be at play here that would contribute to this anomalous result?

One potential factor is the volume of shipping in the Red Sea. These days, it appears that the use of Starlink at sea is pretty much pervasive. A Starlink service is evidently a faster and cheaper communications service than that provided by Inmarsat, and it has truly global reach. Given that the Starlink geolocation data attempts to map every Starlink IP address into one economy or another, even ships at sea using Starlink get assigned an IP address that is mapped to some piece of land. Sixty ships a day use the Suez Canal, and while the transit time from the Indian Ocean to the Mediterranean Sea is a few days, it’s still a stretch to claim that crew use of Starlink services alone accounts for some 50,000 ad impressions per day. These numbers imply that the use of Starlink by shipping may be part of the factors at play here, but it may not be the only contributory factor.

Another potential factor is that it’s possible that Starlink’s geolocation data does not reflect reality. The Starlink availability map indicates that Starlink has obtained national regulatory approval to operate in Yemen, Oman, Qatar, Bahrain, Israel, Jordan and Somalia, but not in Saudi Arabia, Egypt, Sudan, Eritrea, and Ethiopia. There have been persistent stories in several markets of Starlink resellers that set up a service in an economy that has the necessary national regulatory approvals to use Starlink, and then they ship the dish to a nearby location in a different economy. It’s an open question as to the extent this is taking place, and if so, then it’s certainly plausible to guess that users in Saudi Arabia are using Starlink services that are registered in Yemen.

Does Yemen really have 6M Starlink users? That is extremely unlikely. How many Starlink users is the economy likely to have? In neighbouring Oman, Starlink has a far more modest 0.08% market share, according to this same measurement technique. I would be surprised if the actual figure for in-economy Yemen users is all that different. For the Yemen data, the high number might well be the result of a high count of Starlink-using passing maritime traffic being attributed to Yemen, and some component of cross-economy usage from perhaps Saudi Arabia and the United Arab Emirates, where Starlink appears not to have local regulatory approval as yet.

Are there other economies with a similar problem of apparent over-representation of Starlink users? The ad placement data, assigned to economies using the Starlink geolocation data, covers 152 economies. In 21 instances, listed in Table 1, Starlink is used in more than 10% of the ad placement volumes, which looks to be somewhat questionable.

CCCover?AdsEstimated users% UsersCC name
SJY7260100%Svalbard and Jan Mayen Islands
BLY6206,00898%Saint Barthelemy
TVY7,9805,79992%Tuvalu
KIY42,2341,795581%Kiribati
PNY161972%Pitcairn
YEY321,6736,256,29159%Yemen
NRY6,8644,07156%Nauru
CKY16,2204,80250%Cook Islands
MHY7,8577,80534%Marshall Islands
SSY60,296369,56632%South Sudan
MFY1,4124,46824%Saint Martin
VUY21422,42322%Vanuatu
NEY140,3181,076,58521%Niger
SDN348,9863,517,77619%Sudan
TDY78,690292,98517%Chad
ZWY311,093801,75415%Zimbabwe
SBY9,91614,94614%Solomon Islands
MMN237,0042,899,27614%Myanmar
FMY9,8246,16414%Micronesia
MGY67,755612,40812%Madagascar
TOY4,8815,30411%Tonga
            Table 1 — Economies where Starlink attribution is greater than 10%.

In the case of Svalbard, other geolocation databases geolocate to Norway, whereas only the Starlink data set uses the SJ two-letter code

Saint Barthelmy, located in the Caribbean, is an overseas ‘collectivity’ of France, with a population of 9,000 people. Its former status was a commune as part of Guadeloupe. While the Starlink geolocation database distinguishes between Guadeloupe and Saint Barthelmy, it appears that other databases do not draw a distinction between the two, hence the very high proportion of placements in this economy.

The relatively high numbers of Starlink ad presentations are likely in Tuvalu, Kiribati, and the Cook Islands. Marshall Islands, Saint Martin, Vanuatu, the Solomon Islands and Micronesia are due to shipping and yachting traffic. The relatively low GDP per capita in these island nations would tend to indicate that Starlink services are unaffordable by such high percentages of the domestic population.

Starlink operates a Community Gateway service in Nauru, and a traceroute to the IP address prefixes announced by this ISP (Cenpac, AS5722) reveals a Starlink connection, presumably using an inter-satellite laser link. The connections using Starlink’s own IP addresses are presumably not part of the Cenpac service, and these are likely to be an anomaly, presumably due to global roaming used by ships at sea. An examination of the routing table shows a similar community gateway has been deployed for the Tuvalu Telecommunications Corporation, Tamaani in Northern Quebec, Canada and the Federated States of Micronesia Telecommunications Corporation.

It’s also possible that these additional ad placements could include an aircraft element, as there have been reports of Starlink selling a mobile access service to aircraft in flight, but as with ships at sea, there is no published data on the uptake of this class of Starlink users.

There are several other anomalies in Table 1. Sudan and Myanmar both have a high ad placement rate, yet the Starlink access map indicates that the Starlink service is not available in either of these economies. If that is the case, then why does the Starlink geodata have IP address entries for both and why are so many ad placements being recorded from these IP addresses? In the case of Sudan, the Starlink gateway announcing these IP addresses is located in Mombasa, Kenya, and for Myanmar, the relevant Starlink Gateway is located in Singapore. There are also high counts of ad placements for Starlink services that geolocate to Zimbabwe, Niger and Chad.

The situation in the Cook Islands is potentially relevant here, where, before regulatory approval to operate in the Cook Islands, it was reported that domestic enterprises and some users were purchasing a Starlink service in New Zealand under a Roam Unlimited plan, and then shipping the equipment to the Cook Islands. There is no regulatory approval for Starlink to operate in South Africa, Namibia, Angola, and all of the economies in Northern Africa and much of Western Africa, and it’s likely that there is a similar use of Starlink’s roaming services to circumvent these local regulatory issues and purchase a roaming service elsewhere and use it in these economies.

For 20 of these 21 economies (the sole exception appears to be Pitcairn Islands), it’s highly likely that the inferred level of use of Starlink within these economies is inflated by these factors, and the resultant view of the domestic ISP market is skewed as a result.

What is the role of geolocation?

With the rise of the use of satellite services for these global roaming services, this raises some basic questions about IP geolocation and its role.

Is this about the end user’s physical location on the surface of the planet? In this case, do we need to use a new geolocation code (or codes) for locations at sea? Is ‘at sea’ defined by the conventional 12 nautical mile sea boundary? Or is it some other interpretation of a margin where an economy has a territorial sea claim?

What about ships in international waters? The conventional approach to ships at sea asserts that the ship (and its crew) is subject to the laws of its flag state in international waters. What about aircraft in flight? It might appear that a similar situation to ships at sea may apply to aircraft in flight, but a more commonly applied convention (the Tokyo Convention) is that the laws of the economy of aircraft registration apply to an aircraft in flight for international flights.

So, what is the geolocation of the occupants of that ship or flight when accessing the Internet?

  • Is it the location of the earth station used to pass packets to the spacecraft that relays the packet back to the ship or the aircraft?
  • Or is it the location of the earth station used to receive the relayed packets and re-inject them into the terrestrial Internet?
  • Should the geolocation be a reflection of the legal conventions of whose legal code applies to the ship or aircraft while travelling on an international journey?
  • Should the geolocation reflect the economy that is operating the satellite constellation that is performing the packet carriage function?
  • In the case of ships travelling in territorial waters or aircraft flying over territorial airspace, should the geolocation reflect the territory in question? In which case, what should be done for those parts of the earth’s surface that are not encompassed by accepted territorial claims?

There is a deeper assumption here concerning the behaviour of IP addresses. Does it even make sense to statically assign a geographic location to an IP address when the addressed device is in motion? What are the motivations for performing the location attribute assignment, and how can we implement the dynamic nature of such an assignment? There are no clear, unambiguous answers to such questions, and perhaps that ambiguity reflects a common uncertainty that there is no clearly defined purpose for geolocation assignment in the first place.

APNIC Lab’s response to the uncertainties in Starlink’s geolocation

We have decided to override the Starlink geolocation data that refers to the 20 economies listed above and instead assign an ‘unclassified’ designation to this part of the Starlink geolocation data.

It’s not exactly a satisfying response to the problem, but it stops the distortion of the national measurements due to the increasing levels of usage of these satellite-based services for Internet access.

Rate this article

The views expressed by the authors of this blog are their own and do not necessarily reflect the views of APNIC. Please note a Code of Conduct applies to this blog.

Leave a Reply

Your email address will not be published. Required fields are marked *

Top