Skip to content

docs: unify core definitions and terminology across docs and config samples - #215

Merged
masterking32 merged 1 commit into
masterking32:mainfrom
taskkillstar:docs/unify-language-terms
Nov 2, 2026
Merged

masterking32 merged 1 commit into
masterking32:mainfrom
taskkillstar:docs/unify-language-terms

Conversation

@taskkillstar

Copy link
Copy Markdown
Contributor

Summary

This PR unifies and clarifies core definitions and terminology across the README documentation and sample configuration files without touching runtime code or breaking configuration key backwards-compatibility.

Key Clarifications

  1. Server vs. Resolver:

    • Clarified the distinction between the authoritative Server (remote endpoint serving the tunnel domain) and recursive Resolvers (intermediaries relaying queries between Client and Server).
    • Added explanatory notes in client_config.toml.simple explaining that legacy keys retaining SERVERS in their names (RECHECK_INACTIVE_SERVERS_ENABLED, AUTO_DISABLE_TIMEOUT_SERVERS, AUTO_REMOVE_LOW_MTU_SERVERS, SAVE_MTU_SERVERS_TO_FILE) manage candidate resolvers for backwards compatibility.
    • Clarified DNS_UPSTREAM_SERVERS in server_config.toml.simple as external recursive DNS resolvers queried when satisfying client DNS-over-tunnel requests.
  2. Resolver Balancer vs. Packet Priority Queue (MLQ):

    • Clarified the distinction between selecting which external resolver pairing to query (Resolver Balancer) versus internal packet queue scheduling across priority tiers (Packet Priority Queue / MLQ).
  3. Stream vs. Destination:

    • Standardized the relationship between individual multiplexed user connections (Streams) and the ultimate remote hosts (Destinations) connected by the Server.
  4. Multi-Resolver Routing and Duplication:

    • Clarified mentions of "multipath" into multi-resolver query routing with selective packet duplication.
  5. README Documentation & Flow Diagrams:

    • Added an explicit Core Concepts and Terminology definition table in Section 6.3.
    • Updated flow diagrams and feature tables to use consistent labels (Resolvers, Destination).

Verification

  • go test ./internal/config ./cmd/client ./cmd/server -> PASS
  • CodeRabbit pre-push analysis -> PASS (0 findings)

…amples

- Clarify distinction between authoritative Server and recursive Resolvers
- Clarify Resolver Endpoint, Tunnel Domain, and candidate Pairings
- Clarify Packet Priority Queue (MLQ) vs Resolver Balancer
- Clarify Stream vs final Destination in forwarding modes
- Document backward-compatibility notes for config keys containing 'SERVERS'
- Update architecture diagrams and Core Concepts table in README.MD
@masterking32
masterking32 merged commit 4052a6b into masterking32:main Nov 2, 2026
1 check passed
@taskkillstar
taskkillstar deleted the docs/unify-language-terms branch November 16, 2026 13: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.

3 participants