What's New
⚡ VayDNS Tunnel Support
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.
- 2 new tunnels:
vay1(SOCKS onvsubdomain) andvay-ssh(SSH onvzsubdomain) - Up to 8 tunnels total (Slipstream + DNSTT + NoizDNS + VayDNS, each with SOCKS and SSH)
- Transport option 4 in
--add-tunnelTUI - Binary downloaded automatically during setup; graceful fallback if unavailable
- Simpler service override than NoizDNS — supports
-udpdirectly, no PT mode needed - Full integration:
--status,--monitor,--diag,--add-domain,--remove-tunnel,--uninstall
📈 --monitor Command
Live tunnel usage monitoring:
- Per-tunnel process stats (PID, CPU%, memory, uptime)
- Active SOCKS/SSH/DNS connection counts
- Total memory usage
- Recent journalctl logs
- Optimized: ~3 forks per tunnel, cached
ssoutput
sudo bash dnstm-setup.sh --monitor
# Live monitoring:
watch -n 5 sudo bash dnstm-setup.sh --monitor🔍 --diag Command
Comprehensive tunnel diagnostics with issue counting and fix hints:
- Binary validation (dnstm, dnstt-server
-udpflag, noizdns-server/vaydns-server ELF check) - Service status with journal log snippets on failure
- NoizDNS/VayDNS drop-in override and PT env var checks
- Config.json transport/MTU analysis with high-MTU warnings
- Port 53 binding, SSH localhost reachability, UFW/iptables rules
- Public/private key file presence per tunnel
- External DNS resolution test
- systemd-resolved conflict detection
sudo bash dnstm-setup.sh --diagBug Fixes
--status Hangs (Fixes #31)
dnstm tunnel sharehad no timeout — could hang indefinitely when DNS/domain config is missing- Added
timeout --kill-after=3 10to alldnstmsubcommand calls in the status path
Empty SlipNet URLs in --status (Fixes #32)
- When
dnstm tunnel listdoesn't include domains in its table output, slipnet:// URLs were silently skipped - Added fallback to read tunnel domains from
/etc/dnstm/config.jsonvia jq or python3
SSH User Management Hangs (Fixes #33)
sshtun-usercommands were missing</dev/nullstdin redirect, causing TTY blocking- All
sshtun-usercalls (list, create, show, update, delete, configure) now have</dev/nullandtimeout --kill-after=3
Other Improvements
- 9 DNS records (was 7) — 2 new NS records for VayDNS subdomains (
v,vz) --add-domaincreates VayDNS tunnels for backup domains--add-tunneloffers 4 transport choices: Slipstream, DNSTT, NoizDNS, VayDNS--remove-tunnelcleans up VayDNS service overrides--uninstallremoves vaydns-server binary and drop-in files- SSH user management generates VayDNS SSH share URLs
- Help text lists all 10 components (was 6)
Upgrade
curl -fsSL -o dnstm-setup.sh https://raw.githubusercontent.com/SamNet-dev/dnstm-setup/master/dnstm-setup.sh
sudo bash dnstm-setup.shExisting 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.