Routing Settings
Choose how domain names are matched against rules.
Updated
Routing Settings is the Settings row named Routing. It has one control: the Strategy segmented picker. The Settings entrance row shows the current strategy, the note below the picker explains the selected strategy, and Tunna saves the choice when you leave this screen.
Strategy segmented picker
AsIs
Match using the domain name only. This avoids DNS resolution and is the lightest option.
IPIfNonMatch
Try domain rules first. If nothing matches, resolve the domain to an IP address and try matching again.
IPOnDemand
Resolve domains to IP addresses before matching. Use this when accuracy matters more than speed.
More lookup can cost more time
IPIfNonMatch and IPOnDemand can help IP-based rules catch traffic, but they add DNS work. Keep AsIs when domain rules already behave correctly.
Practical routing-setting uses
Keep browsing fast
Use AsIs with ordinary domain rules when sites match by host name and you do not need IP-based fallback.
Good fit Your route plan is mostly host, base domain, full domain, or GeoSite domain records.
Not ideal Your important rules depend on destination IP ranges.
Catch IP rules after domain rules miss
Use IPIfNonMatch when domain rules should stay first but IP ranges should still have a chance to match.
Good fit A few GeoIP or CIDR rules are important and domain matching is usually enough.
Not ideal You need every domain resolved before rule matching.
Favor IP accuracy
Use IPOnDemand for route plans where IP matching is central and the extra lookup time is acceptable.
Good fit GeoIP, CIDR, or provider IP ranges decide the route outcome.
Not ideal You are tuning On-Demand wake behavior; Apple On-Demand triggers come from eligible domain material, not this DNS lookup strategy.
On-Demand is configured in Tunnel settings
Routing Settings changes how Tunna matches traffic after it is already being evaluated. Tunnel On-Demand decides when Apple's Network Extension may start automatically, and Tunna can only turn suitable unpaused Proxy-domain routing material into Apple On-Demand rules.