Interactive setup wizard for dnstm — automated DNS-based network configuration
Repo SamNet-dev/dnstm-setup, read from GitHub 3 min ago. SamNet-dev has not joined Take My Repo.
VayDNS is an optimized fork of DNSTT by net2share with KCP/smux reliable sessions, auto-recovery, and a leaner wire protocol. Runs in -dnstt-compat mode for backwards compatibility with existing SlipNet clients.
vay1 (SOCKS on v subdomain) and vay-ssh (SSH on vz subdomain)--add-tunnel TUI-udp directly, no PT mode needed--status, --monitor, --diag, --add-domain, --remove-tunnel, --uninstall--monitor CommandLive tunnel usage monitoring:
ss outputsudo bash dnstm-setup.sh --monitor
# Live monitoring:
watch -n 5 sudo bash dnstm-setup.sh --monitor--diag CommandComprehensive tunnel diagnostics with issue counting and fix hints:
-udp flag, noizdns-server/vaydns-server ELF check)sudo bash dnstm-setup.sh --diag
--status Hangs (Fixes #31)dnstm tunnel share had no timeout — could hang indefinitely when DNS/domain config is missingtimeout --kill-after=3 10 to all dnstm subcommand calls in the status path--status (Fixes #32)dnstm tunnel list doesn't include domains in its table output, slipnet:// URLs were silently skipped/etc/dnstm/config.json via jq or python3sshtun-user commands were missing </dev/null stdin redirect, causing TTY blockingsshtun-user calls (list, create, show, update, delete, configure) now have </dev/null and timeout --kill-after=3v, vz)--add-domain creates VayDNS tunnels for backup domains--add-tunnel offers 4 transport choices: Slipstream, DNSTT, NoizDNS, VayDNS--remove-tunnel cleans up VayDNS service overrides--uninstall removes vaydns-server binary and drop-in filescurl -fsSL -o dnstm-setup.sh https://raw.githubusercontent.com/SamNet-dev/dnstm-setup/master/dnstm-setup.sh sudo bash dnstm-setup.sh
Existing setups will continue to work. VayDNS tunnels are created automatically on fresh installs or when running --add-domain. To add VayDNS to an existing server, use --add-tunnel and select transport 4.
--update flag for CLI usageno match for method mac algoresolv.conf backed up and locked with chattr +ix-ui setting binary (handles bcrypt hashing in v2.0+)dnstm installfile command instead of unreliable -help flagsshtun-user configuresshd -t after modificationNoizDNS (DPI-resistant DNSTT fork) server binaries for bundled distribution.
Two new tunnel types added to the main setup — 6 tunnels instead of 4:
n subdomain) — DPI-resistant DNS tunnel for SOCKS proxyz subdomain) — DPI-resistant DNS tunnel for SSH tunnelingNoizDNS is a DPI-resistant fork of DNSTT by anonvector (same author as SlipNet) that uses alternative DNS query encoding to evade Deep Packet Inspection. The server auto-detects both standard DNSTT and NoizDNS clients. In SlipNet, select NoizDNS as the tunnel type for n and z subdomains.
New optional feature to connect an existing 3x-ui panel (or raw Xray) to a DNS tunnel:
sudo bash dnstm-setup.sh --add-xray
# Or via management menu: --manage → option 8127.0.0.1 — only reachable through the DNSTT tunnel--add-domain now creates NoizDNS tunnels for backup domains--status displays NoizDNS tunnel info and SlipNet URLs--remove-tunnel properly cleans up Xray and NoizDNS service overridesgrep -P, no python3, pure bash| Tunnel | Subdomain | Transport | Backend |
|---|---|---|---|
| slip1 | t |
Slipstream (QUIC) | SOCKS |
| dnstt1 | d |
DNSTT (Noise) | SOCKS |
| noiz1 | n |
NoizDNS (DPI-resistant) | SOCKS |
| slip-ssh | s |
Slipstream (QUIC) | SSH |
| dnstt-ssh | ds |
DNSTT (Noise) | SSH |
| noiz-ssh | z |
NoizDNS (DPI-resistant) | SSH |