Docs GitHub
-- --
Theme:
Language:
EN فا

VayDNS Configuration#

VayDNS is the native vaydns protocol. It uses the same tunnel stack as DNSTT (DNS → KCP → Noise → smux) but with native framing and additional tuning parameters for QNAME structure, MTU, and record type.

Connection Settings#

FieldDefaultRangeDescription
Domain(required)valid domainZone delegated to your VayDNS server
PubKey(required)64 hex charsServer public key
ResolverType"udp"udp, tcp, dotTransport to resolver
ResolverPort53> 0Resolver port
Fingerprint"Chrome"see DNSTT fingerprintsuTLS ClientHello fingerprint
RecordType"TXT"see belowDNS record type for tunnel queries
RPS00-500Rate limit (queries/sec); 0 = unlimited

Advanced Settings#

FieldDefaultRangeDescription
ClientIDSize21-8Client ID byte size
MaxQnameLen1010-253Max QNAME length in DNS packets (0 = auto)
MaxNumLabels00-4Max number of labels in QNAME (0 = auto)
MTU00-1452Max transmission unit (0 = auto)

DNS Record Types#

Supported RecordType values: A, AAAA, CNAME, NS, MX, TXT, SRV, NULL, CAA.

The record type determines which DNS record type is used for tunnel queries. TXT is the default and most widely supported.

Proxy and Authentication#

Same fields as DNSTT (see Proxy and Authentication).

Example Config#

Domain = "example.com"
PubKey = "0000000000000000000000000000000000000000000000000000000000000000"
ResolverType = "udp"
ResolverPort = 53
Fingerprint = "Chrome"
RecordType = "TXT"
ClientIDSize = 2
MaxQnameLen = 101
MaxNumLabels = 0
MTU = 0
RPS = 0
ProxyType = "socks"
ProxyPort = 1080
AuthMethod = "none"
  • DNS Tunneling — Protocol overview and scan flow
  • DNSTT — DNSTT-compatible framing and TLS fingerprints