AirLane
Back to blog
fake-ipdnstunsing-boxtutorial

Fake-IP vs Real-IP: Two DNS Modes of Proxy Clients Explained

Fake-IP returns fake addresses so traffic classification happens locally — faster and leak-proof; Real-IP resolves genuinely then routes — more compatible but slower. The mechanics, trade-offs and pitfalls of both modes.

Fake-IP vs Real-IP

With TUN/enhanced mode, the client must first decide: what happens to the app's DNS queries? That's the Fake-IP vs Real-IP choice.

How Fake-IP works

When a DNS query arrives, the client doesn't resolve it — it returns a fake IP from a reserved range (e.g. 198.18.x.x). The app connects to the fake IP; the client sees it at the connection layer, maps it back to the original domain, and applies routing rules by domain.

Pros:

  • Zero DNS latency — connections establish faster
  • Routing keyed on real domains, immune to DNS poisoning
  • Inherently leak-proof — real resolution happens at the proxy exit

Pitfalls: depends on the domain↔fake-IP mapping; apps with hard-coded IPs can't be classified; LAN device discovery (printers, casting) needs fake-ip range exclusions.

How Real-IP works

DNS resolves genuinely (system or encrypted DNS); the client routes by the resolved IP / domain rules.

Pros: compatible, behaves close to unproxied; good for connectivity-sensitive setups.

Cons: adds a real resolution round-trip; poisoned DNS yields wrong IPs; routing decisions happen later in the chain.

Which to pick

  • Speed + leak protection with TUN: Fake-IP
  • Problematic apps, LAN-heavy environments: Real-IP or hybrid (fake-ip only for proxied domains, the rest resolve normally)

In AirLane

Settings → DNS toggles fake-ip / real-ip directly, with a customizable fake-ip filter list (LAN, printers, consoles…). Changes apply instantly, no core restart.

Download: airlane.cloud/download