Skip to content

Fix profile DNS routing, IPv6 uplink detection and core diagnostics - #81

Merged
andre487 merged 1 commit into
mainfrom
fix/profile-dns-ipv6-logging
Nov 12, 2026
Merged

andre487 merged 1 commit into
mainfrom
fix/profile-dns-ipv6-logging

Conversation

@andre487

Copy link
Copy Markdown
Owner

With selective application routing, router-provided Fake-IP addresses could reach remote proxies and time out. While connected, ordinary DNS now uses the active profile's resolver through the proxy regardless of traffic rules. Bootstrap remains separate. TUN shutdown restores system DNS and clears the Windows DNS cache; physical adapter settings are unchanged.

When no active adapter has a non-local IPv6 address and IPv6 gateway, the TUN uses IPv4 only, DNS requests IPv4 only, and IPv6 connections are rejected. Detection runs at connection startup, not continuously.

Connection settings now expose the sing-box log level, defaulting to warn, with autosave, reconnect indication, validation and configuration import/export. Documentation explains DNS scope, cache behavior and diagnostic logging.

Validation: configuration checks, WPF UI checks, application build and generated configuration validation against both native DLLs passed locally. User testing confirmed improved connectivity; remaining client-side TCP resets were investigated but are not claimed fixed by this PR.

@andre487
andre487 enabled auto-merge (squash) November 12, 2026 18:58
@andre487
andre487 merged commit dfbd733 into main Nov 12, 2026
9 checks passed
@andre487
andre487 deleted the fix/profile-dns-ipv6-logging branch November 12, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant