Routing and DNS · Matching conditions
Routing rule
Routing rules direct connections to specified outbounds—such as direct, proxy, or block—based on domains, IPs, ports, or other supported criteria. Rules are usually evaluated in order, so an overly broad rule near the top can prevent more specific rules from taking effect. When making changes, check both the matching criteria and what happens to unmatched connections, then test with a specific browsing scenario.
Routing and DNS · Traffic policies
Traffic routing
Traffic routing uses rules to send different connections to different outbounds; it is not a standalone protocol. Options labeled bypass mainland China or global in a client usually refer to preset rules or handling modes, but the exact scope depends on the current configuration. If an app does not connect as expected, first check whether its traffic reaches the client, then review the matching rule and DNS results.
Routing and DNS · Address lists
GeoIP
In routing configurations, GeoIP usually refers to a list of IP addresses grouped by region or purpose, reducing the need to enter address ranges individually. Classification depends on the data source and update schedule; it is not a real-time measurement of server location. If a rule behaves unexpectedly, check the actual destination IP, data file, and classification scope rather than relying on the website name alone.
Routing and DNS · Domain lists
GeoSite
GeoSite groups domains associated with websites, services, or purposes so rules can match them by category. It matches domain criteria, unlike GeoIP, which categorizes IP addresses, and it does not replace DNS resolution. A service may use multiple domains and third-party resources, so if parts of it fail to load, check whether the rules cover all the domains actually requested.
Routing and DNS · Name resolution
DNS
DNS resolves domain names to IP addresses and other records, making it a fundamental part of connecting to a domain. The operating system, browser, and proxy core may each perform lookups, so changing a DNS address in one place may not affect every app. When configuring DNS, identify which component performs the lookup, which path the query takes, and how the result is used for routing before deciding whether to change the resolver.
Routing and DNS · Domain mapping
FakeDNS
FakeDNS returns virtual addresses from a reserved range and maps them to the original domain. The core then recovers the domain from that mapping when handling subsequent connections. This does not mean the destination is actually at the virtual address, nor does it force every DNS result to the same address. The mechanism depends on DNS resolution and traffic capture working together. After enabling or disabling it, check whether apps still have old mappings cached.
Routing and DNS · Path checks
DNS leak
A DNS leak occurs when queries use a resolver or network path other than the one intended. Before judging a test, define your DNS policy. A test page showing a resolver name alone does not prove the DNS path used by every app or indicate that the proxy connection has failed. Check app-level encrypted DNS, system settings, and client rules to identify where each query actually comes from.
Routing and DNS · When to resolve domains
Domain strategy
A routing domain strategy determines whether and when domain names are resolved to IP addresses for IP-rule matching. For example, IPIfNonMatch typically means that if no domain rule matches, the domain is resolved and then checked against IP rules. This is not a DNS server address, nor does it mean all requests must use a particular address family. Similar names in different settings may have different meanings, so check each setting in context.