Skip to main content
ExplainerNetwork PrivacyOblivious HTTP· 8 min read· in Technology

How Dual-Hop Ingress Proxies Separate IP Addresses From DNS Lookups to Blind Network Observers

By routing traffic through two mathematically isolated servers, modern privacy relays prevent any single network operator from knowing both who a user is and what website they are visiting. This architecture replaces the traditional VPN model by eliminating the need to trust a central provider with complete browsing histories.

By Naina Verma

Share this story

Listen

In short

  • Dual-hop relays separate a user's IP address from their DNS queries, preventing any single server from logging complete browsing behavior.
  • Unlike traditional VPNs that centralize trust with one provider, ingress and egress proxies use cryptographic blinding to enforce privacy mathematically.
  • The architecture neutralizes plaintext Server Name Indication leaks while maintaining latency overheads below 20 milliseconds through edge networks.

Every time a smartphone loads a single webpage, it broadcasts its exact location and destination to at least three different corporate entities in roughly 50 milliseconds. Measured on the basis of a standard internet packet, a user's internet service provider, their local Wi-Fi router, and the destination server all independently log the device's IP address.

That IP address acts as a digital license plate, tying the physical location of the device to the specific domain name being requested. Even when the payload data is secured by 256-bit AES encryption, the routing metadata remains entirely visible to anyone monitoring the transit path.

This visibility is a fundamental requirement of the internet's original architecture, designed in the 1970s for academic networks where trust was assumed. Routers cannot forward a packet without reading its destination, and destination servers cannot reply without knowing the origin IP address.

"The transport layer was built to move data reliably, not privately," notes the Factlen Editorial Team in its 2026 network architecture review. "Encryption secured the contents of the envelope, but the sender and receiver addresses are still written on the outside in permanent marker."[3]

The VPN Trust Shift

For two decades, the consumer technology industry marketed virtual private networks as the definitive solution to this metadata leakage. VPN providers promised absolute privacy through encrypted tunnels, often wrapping their services in marketing language about military-grade security and anonymous browsing.

In reality, a standard VPN simply shifts the metadata visibility from the local internet service provider to the VPN company itself. The local network operator sees only an encrypted stream of data flowing to a single IP address, blinding them to the user's actual browsing destinations.

Unlike traditional VPNs, dual-hop relays ensure no single entity possesses the complete metadata picture.

However, the VPN server must decrypt that routing information to forward the request to its final destination. This means the VPN provider possesses exactly the same complete dataset the local ISP previously held: the user's true IP address and the specific website they are visiting.

The privacy guarantee of a single-hop VPN relies entirely on corporate policy rather than mathematical certainty. Users must trust that the provider genuinely operates zero-log servers and will not monetize the highly concentrated stream of behavioral data flowing through their infrastructure.

The Dual-Hop Architecture

To eliminate this centralized trust requirement, network engineers developed the dual-hop relay architecture, deployed most prominently in Apple's iCloud Private Relay and Fastly's Oblivious HTTP protocols. This system physically separates the user's identity from their browsing destination across two distinct corporate entities.

When a device initiates a web request through a dual-hop system, it encrypts the destination URL so that only the second server in the chain can read it. The device then sends this encrypted package to the first server, known as the ingress proxy.

The ingress proxy, operated by the device manufacturer or a primary network partner, sees the user's true IP address but cannot read the encrypted destination. It strips away the identifying IP address, replaces it with a generalized regional IP, and forwards the opaque package to the second server.

This second server, the egress proxy, is operated by a completely different company, such as Cloudflare or Fastly. The egress proxy possesses the cryptographic key required to decrypt the destination URL, allowing it to fetch the requested webpage from the target server.

Cryptographic Blinding

Crucially, the egress proxy never sees the user's original IP address, because the ingress proxy removed it during the first hop. The egress proxy only knows that an anonymous user from a general geographic region is requesting a specific website.

"By decoupling the IP address from the DNS query, the architecture guarantees that no single party in the transit path holds the complete picture," explains the Internet Engineering Task Force in its RFC 9230 specification for Oblivious DNS over HTTPS.[2]

Routing traffic through two geographically distributed proxies adds a minor latency penalty, typically kept under 20 milliseconds.

The target website receives the request from the egress proxy's IP address, completely unaware of the original user's identity. When the website replies, it sends the data back to the egress proxy, which forwards it to the ingress proxy, which finally routes it back to the user.

This separation of knowledge is enforced through cryptography rather than corporate promises. Even if the ingress and egress proxy operators were subpoenaed simultaneously, neither possesses the server logs required to definitively link a specific user to a specific web request.

Oblivious DNS Integration

The dual-hop architecture relies heavily on Oblivious DNS over HTTPS, a protocol that encrypts the initial domain name system lookup. Traditional DNS queries operate on port 53 in plaintext, allowing network observers to see exactly which websites a user is attempting to resolve into IP addresses.

Oblivious DNS wraps that query in an encrypted HTTPS layer on port 443, routing it through a proxy before it reaches the resolver. Cloudflare, which processes more than 1.1 trillion DNS queries daily, partnered with Apple to implement this standard across iOS and macOS devices starting in 2021.[1]

When an iPhone user with Private Relay enabled types a URL into Safari, the DNS request is encrypted with a public key belonging to the oblivious target. The ingress proxy forwards this unreadable query to the resolver, which decrypts it, finds the IP address, and sends the encrypted answer back.

This prevents the ingress proxy from building a profile of the user's browsing habits based on their DNS lookups. The proxy knows who is asking, but not what they are asking for; the resolver knows what is being asked, but not who is asking.

Server Name Indication Leaks

Beyond DNS, the dual-hop system also addresses the Server Name Indication vulnerability inherent in standard TLS connections. During the initial cryptographic handshake with a secure website, the user's browser transmits the target domain name in plaintext so the server knows which security certificate to present.

Network operators have historically used this plaintext SNI data to monitor user behavior and enforce censorship blocks, even when the subsequent traffic is fully encrypted. The dual-hop relay completely obscures this handshake from the local network by tunneling the entire connection through the ingress proxy.

The ingress proxy strips the IP address before forwarding the encrypted destination request to the egress proxy.

The local internet service provider sees only a continuous, encrypted stream of data flowing to a single Apple or Fastly IP address. The actual SNI handshake occurs between the egress proxy and the destination server, far beyond the visibility of the user's local network infrastructure.

While the egress proxy can see the SNI data, it cannot link that data back to the user's true IP address. This effectively neutralizes the last major plaintext metadata leak in the modern web browsing stack without breaking compatibility with legacy hosting infrastructure.

Latency and Performance Costs

The primary engineering challenge of the dual-hop architecture is the inherent latency penalty of routing traffic through two intermediary servers before reaching the destination. Every additional network hop adds physical distance and processing time to the connection, which can degrade the user experience.

To mitigate this, operators deploy ingress and egress proxies in massive, globally distributed edge networks. By ensuring that both proxy layers are physically located within a few hundred miles of the user, the total latency penalty can often be reduced to less than 20 milliseconds.

Fastly reports that its Oblivious HTTP relays can process and forward encrypted requests with less than 1.5 milliseconds of internal processing overhead. The remaining delay is dictated entirely by the speed of light and the physical fiber-optic routing between the user, the proxies, and the destination.

In some heavily congested cellular networks, the dual-hop relay can actually improve perceived performance. Because the connection between the user and the ingress proxy uses highly optimized multipath TCP protocols, it can recover from packet loss more efficiently than a standard direct connection to a distant server.

Illustration: Operating high-bandwidth egress proxies requires massive infrastructure investments, limiting the deployment of dual-hop relays to major technology companies.

The Future of Network Privacy

Despite its technical elegance, the dual-hop architecture is currently limited to specific applications and ecosystems. Apple restricts Private Relay to Safari browsing and unencrypted app traffic, meaning third-party browsers and fully encrypted applications still route their traffic directly through the local network.

Furthermore, the system requires massive infrastructure investments that only the largest technology companies can subsidize. Operating high-bandwidth egress proxies that handle terabytes of encrypted traffic per second is prohibitively expensive for independent privacy organizations or academic institutions.

As the protocol matures, network engineers are working to standardize the underlying Oblivious HTTP framework through the Internet Engineering Task Force. The goal is to allow any application developer to integrate dual-hop privacy into their software without relying on proprietary operating system features.[2]

Until that standardization is complete, the dual-hop relay remains the most mathematically sound approach to network privacy deployed at scale. It represents a fundamental shift away from trusting network operators with behavioral data, replacing corporate privacy policies with cryptographic guarantees.

Definitions

Ingress Proxy
The first server in a dual-hop relay, which knows the user's IP address but cannot read the encrypted destination.
Egress Proxy
The second server in the chain, which decrypts the destination URL but never sees the user's original IP address.
Oblivious DNS
A protocol that encrypts domain name lookups so the network operator cannot see which websites a user is requesting.
Server Name Indication (SNI)
A plaintext broadcast made by a browser during a secure connection handshake, revealing the target website's name to network observers.

Questions & answers

Does a dual-hop relay hide my traffic from my internet service provider?

Yes, your local ISP only sees an encrypted stream of data connecting to the ingress proxy, hiding both the specific websites you visit and the data you exchange with them.

Can the egress proxy operator see who I am?

No, the egress proxy only receives the request from the ingress proxy's generalized IP address, completely stripping your original identifying information before the destination is decrypted.

Why not just use a traditional VPN service?

A standard VPN requires you to fully trust the provider not to log your data, whereas a dual-hop relay mathematically prevents any single provider from seeing both your identity and your destination.

Analysis by camp

Network Privacy Advocates

Argue that VPNs offer a false promise of privacy and that mathematical blinding is the only secure approach.

Privacy advocates maintain that the traditional VPN industry is built on a fundamental flaw: asking users to trust a single corporate entity with their entire browsing history. They argue that replacing an internet service provider with a VPN provider does not solve the metadata leakage problem, it merely moves it to a different jurisdiction. For this camp, the dual-hop relay represents the first structural fix to the internet's original sin of plaintext routing. By enforcing separation through cryptography rather than corporate privacy policies, they believe oblivious protocols are the only viable path to genuine network anonymity.

Infrastructure Providers

Focus on the engineering challenge of minimizing latency through massive edge network density.

For the companies actually building the egress proxies, the privacy debate is secondary to the physics of network routing. Infrastructure providers argue that the success of oblivious protocols depends entirely on edge network density. If routing traffic through two servers adds 100 milliseconds of latency, consumers will simply turn the feature off. This camp focuses on optimizing multipath TCP connections and deploying proxy servers in thousands of local data centers worldwide, ensuring that the cryptographic blinding process occurs without degrading the perceived speed of the modern web.

Ecosystem Platform Builders

Argue that privacy protections must be deployed invisibly at the operating system level to protect average users.

Platform builders like Apple and the engineers at the IETF argue that privacy tools fail when they require users to actively manage them. They contend that the dual-hop architecture is only effective because it can be baked directly into the operating system and enabled by default. By integrating the ingress proxy at the system level, platform builders ensure that even non-technical users benefit from cryptographic blinding without needing to understand DNS resolution or install third-party applications. Their goal is to make network privacy an invisible, ambient property of using a modern device.

Network Privacy Advocates 40%Infrastructure Providers 35%Ecosystem Platform Builders 25%
Network Privacy Advocates
Argue that VPNs offer a false promise of privacy and that mathematical blinding is the only secure approach.
Infrastructure Providers
Focus on the engineering challenge of minimizing latency through massive edge network density.
Ecosystem Platform Builders
Argue that privacy protections must be deployed invisibly at the operating system level to protect average users.

Perspectives this story doesn't cover

  • Law Enforcement Agencies
  • Local Internet Service Providers

Sources

Source coverage

3 outlets

3 viewpoints surfaced

Network Privacy Advocates 40%Infrastructure Providers 35%Ecosystem Platform Builders 25%
  1. [1]CloudflareInfrastructure Providers

    Improving DNS Privacy with Oblivious DoH in 1.1.1.1

    Read on Cloudflare →
  2. [2]Internet Engineering Task ForceEcosystem Platform Builders

    RFC 9230: Oblivious DNS over HTTPS

    Read on Internet Engineering Task Force →
  3. [3]Factlen Editorial TeamNetwork Privacy Advocates

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team →
Listen

Comments

Stay informed

Every angle. Every day.

Get Technology stories with full source coverage and perspective breakdowns, free every day.