Shared hosting, SNI and the IP block problem
In 2015, 0.9% of IP addresses carried 80% of domains, but by 2024 this concentration increased, with only 0.2% of IPs carrying that same 80% of domains, according to a paper by Habib, Singanamalla, Fayed and Durumeric.
Measuring IP Concentration
The researchers measured the number of domains per IPv4 address and the volume of client requests per address. Their findings show that fewer than 0.2% of .com, .net and .org domains use a unique IPv4 address. Furthermore, only 9% of the top million domains have a dedicated IP, according to the same paper.
The Mechanism of Shared Hosting
This concentration occurs because a single IP address often fronts many different hostnames. This is common in shared hosting and Content Delivery Networks. Server Name Indication, or SNI, allows a client to specify the hostname it is attempting to connect to at the start of the handshake so the server can route the request to the correct site.
The scale of this sharing is significant. The paper notes that single Squarespace addresses serve close to 10 million domains each.
Client Side Observations
The lack of specificity extends to the user. According to the paper, 5% of client IP addresses account for more than half of observed web requests worldwide. Because so many requests originate from so few addresses, a single IP provides little information about a specific user.
Implications for Blocking
These technical realities complicate the process of blocking access to specific services. Blocking at the IP layer risks significant collateral damage. According to TorrentFreak, an order in Austria in 2022 to block Cloudflare IPs hosting pirate sites resulted in the loss of access to thousands of unrelated sites. This suggests that blocking at the DNS or SNI layer is more precise than blocking at the IP layer.
Technical Caveats
Readers should note certain limitations regarding the source data. The date of measurement is not provided for every figure cited in the paper. Additionally, one of the authors works for Cloudflare, and a portion of the research data was derived from Cloudflare logs.
The shift toward extreme IP concentration means that the IP address is no longer a reliable proxy for a single service or a single person.