Double-tunnel mode: both tunnels claim the ~. routing domain #59

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

Both set_dns call sites for tunnels hand the link the ~. routing
domain (dns_manager.py applies it to any tun it is given). With the
experimental second-VPN bypass mode active, the main tunnel and
tun_bypass both claim ~. — and resolved distributes queries across
all links carrying the same routing domain, so system-wide DNS
round-robins between the two tunnels.

The ~. fix predates thinking about the double-tunnel path. Probably:
only the main tunnel should get ~.; the bypass tunnel's resolver is
reached through the port-53 redirect, not through resolved's routing.

Low urgency: the double-tunnel mode is inherited-experimental and has
never been exercised here.

Both `set_dns` call sites for tunnels hand the link the `~.` routing domain (dns_manager.py applies it to any tun it is given). With the experimental second-VPN bypass mode active, the main tunnel *and* `tun_bypass` both claim `~.` — and resolved distributes queries across all links carrying the same routing domain, so system-wide DNS round-robins between the two tunnels. The `~.` fix predates thinking about the double-tunnel path. Probably: only the main tunnel should get `~.`; the bypass tunnel's resolver is reached through the port-53 redirect, not through resolved's routing. Low urgency: the double-tunnel mode is inherited-experimental and has never been exercised here.
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#59
No description provided.