Routing & DNS
Traffic entry, rule matching, and domain resolution are connected steps, not a single switch.
Routing
Routing rules and split tunneling
Routing rules select an outbound based on conditions such as domain, IP, or port, sending requests to a direct, proxy, or blocked route; this is commonly called split tunneling. Rules are often evaluated in order, so a broad rule near the top can override a more specific one below. When changing routing in v2rayN, check the rule order and the default outbound for requests that match no rule, not just individual rules.
GeoIP
IP address sets
GeoIP is a tagged collection of IP addresses used to match destination addresses in routing rules. Its coverage depends on the data file loaded; it is not a real-time determination of request origin or service ownership. If the destination is a domain, whether it is resolved to an IP first also depends on the domain strategy. A GeoIP rule may therefore not match every expected request immediately.
GeoSite
Domain sets
GeoSite is a tagged collection of domains. For example, geosite:private can match the private-domain set in a supported data file. GeoSite handles domain conditions, while GeoIP handles address conditions; they are not interchangeable. If rules behave unexpectedly, first confirm the tag exists, then check whether the request still includes domain information for matching.
FakeDNS
Synthetic address mapping
FakeDNS returns a synthetic IP to the app and stores a mapping between that address and the domain, allowing later connections to recover the original domain. It is not a regular public DNS address, and changing just one DNS server is not enough to configure it. DNS interception, traffic capture, and address restoration must work together. After disabling it, watch for synthetic addresses cached by the system or apps.
DNS leak
DNS leak
A DNS leak occurs when domain lookups take an unexpected route—for example, when they are meant to use a specified channel but instead go through the system's default resolver. A normal-looking browser exit IP does not mean DNS is following the expected path. Check system DNS, client DNS, encrypted DNS in the browser, and TUN capture separately; do not draw conclusions from a single web test.