routing / rules
Routing Rules and Traffic Splitting
Traffic splitting sends connections to different outbounds based on conditions such as domain, IP, port, or inbound tag. Rules are usually checked in order, so an earlier match can affect what happens next; different condition types within a rule generally all need to match. After changing rules, check the logs to confirm the actual destination and matched rule rather than relying on the mode name shown in the interface.
geoip
IP Address Sets
GeoIP matches destination addresses against IP ranges in a data file. geoip:private is commonly used for private address ranges. These classifications reflect the data source and do not prove a precise physical location. If a destination is initially a domain, whether and how it is resolved for IP-based rules also depends on the routing resolution strategy.
geosite
Domain Sets
GeoSite uses named domain sets to organize rules, with set contents determined by the data file in use. Even when labels match, check the data source and its update date; a set may not include every domain for a service. Referencing a set that does not exist can prevent the config from loading, so check the rules and data file together.
dns
DNS Resolution
DNS resolves domain names to IP addresses and other records. Resolution may be handled by an app, the operating system, the proxy core, or a remote component. Configuring the core's dns section does not automatically route every app's DNS queries through it. Check the query entry point, upstream resolver, outbound used for the query, and how the resulting address is used for routing.
FakeDNS
Virtual Address Mapping
FakeDNS returns a virtual address to an app and later maps it back to the original domain when the connection enters the relevant processing flow. These are not real server addresses and cannot be used directly by network paths that do not know about the mapping. The DNS entry point, virtual address range, and traffic interception method must work together; adding a single field does not set up the entire flow.
DNS leak
DNS Leak
A DNS leak occurs when queries bypass the expected resolution path and go to another resolver; not every local DNS lookup should be described as a leak. Encrypted DNS in a browser, the system cache, and app-specific DNS can all change the query path. Check against the intended DNS policy: seeing the expected proxy exit IP does not prove DNS queries took the expected route.