IPTunnel Documentation
Back Home
SlowDNS

Environment Variables

All SLOWDNS_* variables accepted by the installer. Set them to skip prompts and enable unattended or scripted installs.

Required for unattended install

Variable Description
SLOWDNS_INSTALL_CODE The one-time IPT-SD-... install code. Skips the interactive prompt.
SLOWDNS_HOSTNAME Public hostname for the A record (e.g. ns1.example.com).
SLOWDNS_TUNNEL_DOMAIN Delegated tunnel domain whose NS record points to the hostname (e.g. slowdns.example.com). Defaults to slowdns.<rest-of-hostname>.
SLOWDNS_PUBLIC_IP VPS public IPv4. Auto-detected via api.ipify.org if not set.

Network and port settings

Variable Default Description
SLOWDNS_LISTEN_PORT 5300 UDP port dnstt listens on internally.
SLOWDNS_PUBLIC_PORT 53 UDP port clients connect to. Usually 53.
SLOWDNS_REDIRECT_53 true (when public=53, listen port differs from 53) Whether to add an iptables redirect from port 53 to the listen port.
SLOWDNS_API_BIND 127.0.0.1 Address the local API binds to.
SLOWDNS_API_PORT 8091 Port the local API listens on.
SLOWDNS_MTU 512 MTU passed to dnstt-server. Lower this if tunnels stall on restrictive networks.
SLOWDNS_NS_HOST (same as hostname) Override the NS record target if it differs from the public hostname.

Build and binary overrides

Variable Description
DNSTT_SERVER_URL URL to a prebuilt dnstt-server binary. Skips the Go source build entirely, which is much faster on slow VPS hosts.
DNSTT_CLIENT_URL URL to a prebuilt dnstt-client binary.
SLOWDNS_LICENSE_URL Override the license server URL. Must start with https://. Default: https://license.internetshub.com.
SLOWDNS_LICENSE_KEY Alias for SLOWDNS_INSTALL_CODE. Both are accepted.