comparison Networks
Split-tunnel VPN routes and DNS boundaries
A VPN route answers where traffic to an IP address should go. A DNS rule answers which resolver to ask about a name. Compare the two without mistaking either choice for an observed packet path.
What it means
Split-tunnel routing chooses which destination addresses use the VPN. DNS resolver policy chooses which resolver to ask about a name. A route through the VPN does not, by itself, tell you who received a DNS query. Choosing a VPN resolver does not, by itself, tell you how the query reached it.
Try it
Simulation: Start with 192.0.2.7, split VPN routes, and no physical overlap. The destination matches the VPN route 192.0.2.0/24. Separately, the name corp.example matches the corporate resolver rule. The two results are VPN route, VPN resolver. The address and the name are separate inputs; the simulation has not looked up one to obtain the other.
Split-tunnel VPN routes and DNS boundaries
Separate route choice and resolver choice to explain split VPN behavior
Route and resolver have separately determined outcomes; neither proves actual packet path.
Destination routing
- Destination192.0.2.7
- Matched prefix/24
- InterfaceVPN
Resolver selection
- Namecorp.example
- Policycorporate-suffix
- ResolverVPN resolver
A resolver selection is not the path taken by the DNS query. The service destination and DNS name are separate inputs.
Evaluated inputs
- Required scenario evidence
- provided
- VPN routes
- split
- Destination IPv4 address
- 192.0.2.7
- Physical overlap
- none
- Resolver policy
- corporate-suffix
- DNS name
- corp.example
Three documentation addresses, same-table longest-prefix selection; full mode assumes VPN default preferred, split adds 192.0.2.0/24. Physical overlap /25 or /24. No metric evidence for split equal-prefix tie. Resolver choice not actual transport path, no DNS leakage claim or platform changes. Corporate resolver choice is represented by one example name in the corporate routing domain, not an arbitrary suffix matcher.
About this model
The controls set only a local, bounded scenario. The computed branch is not a verdict about a live system. Inputs listed as not evaluated did not participate in this branch after validation.
Reset restores the original inputs. It does not change the open or closed state of help or FAQ answers.
Change only Physical overlap to specific-25. Now 192.0.2.7 matches both the VPN’s /24 and the physical interface’s 192.0.2.0/25. The /25 is the narrower match, so the route changes to physical. The resolver stays VPN resolver: neither the DNS name nor its rule changed.
Next, choose equal-24. Both routes now match at /24, and there is no route preference in this split scenario to break the tie. The result is route unknown, VPN resolver. Unknown does not mean the physical route won, and it does not erase the DNS result. Reset restores all six starting choices, including the corporate-suffix resolver policy and provided scenario evidence. These comparisons use synthetic inputs, not traffic from your device.
What changes each decision
For the route decision, first ask whether the destination matches a prefix, then compare the lengths of the matching prefixes in the same table. The number after the slash counts the leading address bits that must match. For example, 192.0.2.200 is inside 192.0.2.0/24 but outside 192.0.2.0/25. In the split scenario it keeps the VPN route even with specific-25 selected. A longer prefix matters only if it matches.
Split and full routing differ here in what happens when no more specific route matches. With no overlap, 198.51.100.7 uses the physical default (/0) in split mode. The same address uses the VPN default (/0) in full mode because the simulation assumes that default is preferred. Neither choice changes the resolver policy.
For the DNS decision, the corporate-suffix rule sends corp.example to the VPN resolver and www.example to the system resolver. Those are the only two names in the simulation; it does not test arbitrary suffixes. With vpn-all or system, the rule selects the indicated resolver without consulting the name. You can therefore have a split route through the VPN for 192.0.2.7 and still select the system resolver for corp.example.
Keep the destination at 192.0.2.7, select split routing and no overlap, then change only resolver policy to unknown. The routing lane still establishes the /24 VPN route, but the resolver lane has no choice established. No single combined label such as “VPN protected” describes those two observations.
An unknown policy is different from a missing scenario. If only the resolver policy is unknown, a known destination route still stands. If the required scenario evidence is missing, neither decision is evaluated. An absent or unsupported input likewise produces no result, rather than reusing the last valid one.
In practice
Keep two destinations distinct when examining an authorized connection: the service you want to reach and the resolver receiving the query. For the service, look for the matching route and its interface. For DNS, identify which resolver the application selected for that particular name. If the question is whether the DNS traffic used the tunnel, you still need evidence of the path to the resolver, not the route to the service. Stop if that evidence or the applicable configuration is unknown; do not change routing or DNS on the strength of this example.
These four combinations are possible even with split routing alone. Hold the name at corp.example and physical overlap at none; the rows change the destination, while the columns change the resolver policy.
| Destination route | corporate-suffix | system |
|---|---|---|
VPN: 192.0.2.7 via /24 | VPN resolver | System resolver |
Physical: 198.51.100.7 via /0 | VPN resolver | System resolver |
Each cell identifies a resolver choice, not the resolver’s location or the path of a DNS packet. If a route is tied or a policy is unknown, leave that part of the comparison open. Judge a DNS privacy requirement against the resolver and path actually observed, not the label “split tunnel.”
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Can a corporate name use a system resolver?
Yes, when resolver policy selects it.
Does full-tunnel routing force every DNS application to use one resolver?
No. Full-tunnel routing selects packet paths, not the resolver API used by every application. For example, systemd-resolved exposes several resolution interfaces; a program may instead issue its own DNS queries. Check both the selected resolver and the path used by its traffic.
What evidence distinguishes resolver choice from DNS path?
Observe which resolver handled the name and the route to that resolver, separately from the service destination’s route. The two choices in this example do not prove the actual DNS transport or whether a privacy policy was met.
Does split tunneling imply lower security?
Not universally. The lab selects routes and resolvers under a stipulated policy; it does not evaluate confidentiality, endpoint security or a complete threat model. A real decision needs a separate policy and threat analysis.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- ip-route(8)
route selection. Route types include throw, which terminates lookup in a table as if no route found; unreachable is distinct. Prefix lengths and default route described. Equal-metric selection is outside toy model.
Checked .
- systemd-resolved.service
DESCRIPTION; PROTOCOLS AND ROUTING. Applicable systemd-resolved lookups use routing-domain specificity, with distinct default-route, global and fallback conditions. The resolver exposes multiple interfaces; packet routing alone does not choose every application's resolver.
Checked .
- RFC 1812: Requirements for IP Version 4 Routers
Appendix E.1 and E.3.1. Longest matching route prefix precedes tie-breaking policy in the described classic IPv4 routing algorithm. Linux rule/table behavior separately documented.
Checked .