transport: add vaydns - #36
Open
bloodflow3r wants to merge 1 commit into
Open
Conversation
Add VayDNS as a new transport alongside the existing dnstt transport. VayDNS is a DNS tunnel fork with per-query UDP sockets, forged response filtering, rate limiting, QNAME constraints, configurable timeouts, and dnstt wire compatibility mode. Config fields: serverPublicKey, serverAddress, resolverType, dnsttCompat, clientidSize, maxQnameLen, maxNumLabels, rps, idleTimeout, keepalive, maxStreams, udpWorkers, udpTimeout, udpSharedSocket, udpAcceptErrors.
bloodflow3r
force-pushed
the
feat/vaydns-transport
branch
from
March 22, 2026 22:32
7a51458 to
0ea6875
Compare
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.
Adds VayDNS as a new transport alongside the existing dnstt transport. Client-side only. Can be used with any outbound protocol.
VayDNS is a dnstt fork with additional features: per-query UDP sockets, forged response filtering, rate limiting, QNAME constraints, configurable timeouts, and dnstt wire compatibility mode.
Config
{ "outbounds": [ { "protocol": "socks", "settings": { "servers": [{"address": "1.1.1.1", "port": 53}] }, "streamSettings": { "network": "vaydns", "vaydnsSettings": { "serverPublicKey": "hex-encoded-pubkey", "serverAddress": "t.example.com", "rps": 200, "maxNumLabels": 2 } } } ] }Available settings
serverPublicKeyserverAddressresolverTypeudp)udpdnsttCompatfalseclientidSize2maxQnameLen101(253with dnsttCompat)maxNumLabels0(unlimited)rps0(unlimited)idleTimeout10s(2mwith dnsttCompat)keepalive2s(10swith dnsttCompat)maxStreams256udpWorkers100udpTimeout400msudpSharedSocketfalseudpAcceptErrorsfalseOnly
serverPublicKeyandserverAddressare required. All other fields use sensible defaults.