github.com/inazumav/sing-box@v0.0.0-20230926072359-ab51429a14f1/docs/faq/fakeip.md (about) 1 # FakeIP 2 3 FakeIP refers to a type of behavior in a program that simultaneously hijacks both DNS and connection requests. It 4 responds to DNS requests with virtual results and restores mapping when accepting connections. 5 6 #### Advantage 7 8 * 9 10 #### Limitation 11 12 * Its mechanism breaks applications that depend on returning correct remote addresses. 13 * Only A and AAAA (IP) requests are supported, which may break applications that rely on other requests. 14 15 #### Recommendation 16 17 * Enable `dns.independent_cache` unless you always resolve FakeIP domains remotely. 18 * If using tun, make sure FakeIP ranges is included in the tun's routes. 19 * Enable `experimental.clash_api.store_fakeip` to persist FakeIP records, or use `dns.rules.rewrite_ttl` to avoid losing records after program restart in DNS cached environments.