Routing and DNS
Domain resolution, the destination information available to rules, and outbound selection are separate steps in the same connection path.
routing.rules / outboundTag
Routing rule
Matches traffic based on conditions such as domain, IP, port, or inbound tag, then selects an outbound or balancer. Rules are usually evaluated in order, so a broad rule near the top can override a more specific one below it. When troubleshooting, check the conditions, order, and tag references—not just whether the domain appears in the list.
Split routing
Traffic routing
Directing traffic to different outbounds based on rules, such as sending private addresses directly and specified domains through a proxy. The result depends on rule order, available domain information, DNS results, and the default outbound. “Global” and “rule-based” modes in a client may refer to different layers; the menu label alone does not reveal the path every app will take.
GeoIP / geoip:cn
GeoIP
A collection of IP addresses used for routing matches, usually referenced by category. It matches IP address ranges only; a match does not establish a site's operator or the region associated with its domain. Changes in DNS results, content delivery networks, or the data file can affect which rules match.
GeoSite / geosite:cn
GeoSite
A collection of categorized domains used for routing matches, useful for applying one rule to related domains. Categories and their contents depend on the data file loaded; do not assume every tag is always available. GeoSite covers domains and GeoIP covers IP addresses. They can be used together, but they mean different things.
Domain Name System / dns.servers
DNS
A system that resolves domain names to addresses and other records. The core's built-in resolver and the operating system resolver may use different paths. dns.servers lists the DNS servers available to the core, but whether they are used also depends on routing and outbound policies. Changing the DNS address does not mean every app query will automatically go through that resolver.
FakeDNS / Synthetic IP
FakeDNS
A mechanism that assigns synthetic IP addresses to domains and restores the domain information when a connection follows. These addresses are not the target server's real public IPs; subsequent traffic must pass through a path that understands the mapping. Changing only the DNS response without handling the connection accordingly can make the address unreachable or break the mapping.
DNS leak
DNS leak
A DNS leak occurs when queries take a different path from the one intended—for example, when a query goes through another resolver instead of the specified outbound. To assess it, check who actually sent the request and where it went, not just the resolver location shown on a website. App-level resolution, encrypted DNS, system caches, and per-app settings can all affect the results.