AirLane

DNS & Fake-IP

v1.0+⏱ 1 min readUpdated

DNS profiles, how Fake-IP works, pollution detection and split-DNS — why DNS is the foundation of routing.

Everything in routing starts with DNS: resolve first, connect second. Wrong DNS means polluted IPs at best — at worst, traffic never reaches the right classifier. All of it lives in Settings → DNS.

Settings · DNSDNS settings: profile, Fake-IP, pollution detection

Settings → DNS (UI in Chinese)

DNS profiles#

  • Mainland-optimized: domestic domains via local DNS, overseas domains via encrypted DNS — for networks in China.
  • Overseas-optimized: everything through trusted upstreams.
  • Custom: your own DoH / DoT upstreams.

What Fake-IP does#

With Fake-IP on, AirLane answers lookups with a virtual IP (198.18.x.x). When an app connects to it, the client looks up the real domain and routes by name.

The win: the domain is preserved — even apps connecting by raw IP still hit domain rules, and resolution is instant (no real DNS round-trip).

Pollution detection#

Detects whether your local DNS returns poisoned results (wrong IPs). On detection, it switches to the encrypted DNS channel automatically.

Split-DNS#

Different domains ask different resolvers: domestic domains use the local ISP DNS (fast), overseas domains use encrypted upstreams (accurate). The presets ship configured — rarely needs tuning.

Debugging DNS
"Connected but the site won't open" is usually DNS: run the DNS check in network diagnostics, then try switching profiles. See A site won't open.
Was this doc helpful?
Still stuck? Ask on GitHub