DNS and fake-ip problems
fake-ip is not a bug — it is what makes domain routing possible: the core stores a fake address as a reminder of which domain a connection wants. Understand it and you can tell whether resolution broke or an app bypassed it.
What 198.18.x.x means
That is the fake-ip range (198.18.0.0/15). When an app resolves a domain, the core returns a free address in that range instead of the real IP, and records the mapping. When the app connects there, the core knows the domain and routes by name rather than waiting for an IP.
So 198.18.x.x in the log is a good sign. A real IP is not automatically bad — the rule may be IP-based, or the app may have resolved the domain itself.
Four anomalies, four causes
| Symptom | Cause | Fix |
|---|---|---|
| Domains resolve to wrong IPs | Upstream DNS returned poisoned answers | Enable DNS hijacking so the core resolves |
| One domain never loads, others fine | The FakeIP filter exempted it to real resolution | Remove it from the filter, or flip the mode |
| Certificate errors inside an app | Domain and certificate disagree — interception | Remove capture certificates, quit related VPNs |
| Intranet addresses unreachable | Intranet domains resolved to fake-ip | Add them to the FakeIP filter |
Scroll the table sideways
The first two are the common ones. Each is one switch — do not change several at once.
Resolution checks in order
-
01
Enable "DNS hijacking"
Override → DNS hijacking. It takes every DNS packet and is what makes fake-ip work.
-
02
Confirm the FakeIP filter mode
Blacklist means listed domains skip fake-ip; whitelist means only listed domains use it. Inverted, a whole set of domains misresolves. Test immediately after changing.
-
03
Add intranet and special domains
Router admin pages, NAS, corporate intranet and
.localnames should never use fake-ip. Add them, with the mode from the previous step. -
04
Turn off system Private DNS
See connected, no internet. Private DNS forces DoT and bypasses the core.
-
05
Check hosts and "resolve pure IP connections"
With "Use hosts" on, local hosts wins. Separately, "resolve pure IP connections" makes the core reverse-look-up IPs, which rescues some apps that only connect by address.
Why some apps never obey fake-ip
Any app that resolves DNS itself and connects straight to an IP defeats fake-ip: browsers with built-in DoH, some games, apps using HTTPDNS, and clients with hard-coded addresses.
For that traffic only the IP remains, so IP-CIDR and GEOIP rules are all you have. That is missing information, not a misconfiguration. You can only change the app or accept IP-based routing.
Do not override the core DNS with a public resolver
Setting Wi-Fi DNS to 8.8.8.8 sends some lookups around the core and kills fake-ip. Either leave DNS on DHCP, or set Name Servers in Override — not both.
Resolution questions
The log target is 198.18.0.1 — is that normal?
Ping to a domain fails with fake-ip on
ping proves nothing in this mode.How many FakeIP filter entries do I need?
rule-providers.