Bypass resolver should follow the physical link's DNS #60

Closed
opened 2026-08-19 12:20:04 -04:00 by mysticalsoap · 0 comments
Owner

With #58 merged, bypass DNS queries leave through the physical link —
but they still go to the configured alt_dns servers (Quad9 by
default), not to whatever resolver the host would use with the VPN off.

The ideal for split tunneling is that a bypassed app resolves exactly as
if the VPN weren't running: DHCP/LAN resolver, split-horizon answers,
captive portals. That means discovering the physical link's DNS at
runtime (resolvectl dns <iface> under resolved, the saved resolv.conf
otherwise) and refreshing it on network change, instead of the static
alt_dns values.

Workaround until then: set alt_dns1 to the LAN resolver — with #58
those queries already arrive over the physical link.

Boundary that stays either way: apps resolving via nss-resolve/varlink
never hit port 53 and keep getting resolved's tunnel answer (see #58's
description). Mullvad/Proton don't solve that either.

With #58 merged, bypass DNS queries leave through the physical link — but they still go to the configured `alt_dns` servers (Quad9 by default), not to whatever resolver the host would use with the VPN off. The ideal for split tunneling is that a bypassed app resolves exactly as if the VPN weren't running: DHCP/LAN resolver, split-horizon answers, captive portals. That means discovering the physical link's DNS at runtime (`resolvectl dns <iface>` under resolved, the saved resolv.conf otherwise) and refreshing it on network change, instead of the static `alt_dns` values. Workaround until then: set `alt_dns1` to the LAN resolver — with #58 those queries already arrive over the physical link. Boundary that stays either way: apps resolving via nss-resolve/varlink never hit port 53 and keep getting resolved's tunnel answer (see #58's description). Mullvad/Proton don't solve that either.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mysticalsoap/aqomui#60
No description provided.