Repository navigation
Fix profile DNS routing, IPv6 uplink detection and core diagnostics - #81
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.