Where traffic goes
Routing rules and traffic routing
Traffic routing selects an outbound for each connection based on conditions such as domain, IP, port, or inbound tag. Standard field-based rules are checked in order, so the first applicable match determines where traffic goes; put specific rules before broader ones. If a rule has multiple conditions, check how they combine instead of assuming any one of them will match on its own.
View routing configuration →
IP rule data
GeoIP
GeoIP groups IP address ranges by category or region; routing rules can reference tags such as geoip:private. Available tags and coverage depend on the local data file, and not all data sources contain the same entries. An IP's registered location does not necessarily indicate where a website is hosted. For shared or changing IP addresses, check the domain rules as well.
Domain rule data
GeoSite
GeoSite is a collection of domain rules organized by category, often used in routing with tags such as geosite:cn. It matches domains; it does not look up the region associated with a destination IP. If a connection provides only an IP address, the rule may not match. Data updates can change category coverage, so check which data file the client actually loaded before changing rules.
Routing domain resolution strategy
domainStrategy
routing.domainStrategy controls whether and when domains are resolved during routing. Common values include AsIs, IPIfNonMatch, and IPOnDemand. For example, IPIfNonMatch tries to resolve a domain for IP matching if no domain rule matches. A field with the same name in another object may affect the connection itself; do not assume it has the same meaning.
Domain mapping
FakeDNS
FakeDNS assigns synthetic IPs to domains and stores the mapping so a proxy handling intercepted traffic can recover the original domain. These addresses are not the website's real resolved IPs; the accompanying traffic path must know how to recognize and handle them. Enabling FakeDNS without correctly intercepting the corresponding connections can break access. Check the DNS query path, routing, and cache together.
Resolution path
DNS leak
A DNS leak occurs when domain queries bypass the intended resolution path; it does not mean DNS resolution failed. The system resolver, browser Secure DNS, app-specific resolvers, and queries that were not intercepted can all affect the result. Troubleshooting starts with identifying the expected resolver and the actual query route. Being able to open a website does not prove DNS traffic followed the intended path.
View DNS configuration →