๐ฌ๐ง English | ๐ท๐บ ะ ัััะบะธะน | ๐ช๐ธ Espaรฑol | ๐ฉ๐ช Deutsch | ๐ซ๐ท Franรงais | ๐จ๐ณ ไธญๆ | ๐ฎ๐ณ เคนเคฟเคเคฆเฅ | ๐ง๐ท Portuguรชs | ๐น๐ท Tรผrkรงe | ๐ฎ๐ฉ Bahasa Indonesia | ๐ป๐ณ Tiแบฟng Viแปt | ๐ฐ๐ท ํ๊ตญ์ด
DNSBox is an open-source DNS server that allows you to issue free SSL certificates (Let's Encrypt) for any public IP address (IPv4 and IPv6) without owning a domain. Get HTTPS access to a server, API, or IoT device directly by IP.
- ๐ Free SSL certificates from Let's Encrypt for IP addresses
- ๐ Supports IPv4 and IPv6
- โก Instant HTTPS access without DNS configuration
- ๐ Automatic certificate renewal
- ๐ก Works without a domain โ use
*.dnsbox.iosubdomains - ๐งฉ Compatible with WebSocket, APIs, and CI/CD pipelines
- โ๏ธ Lightweight installer via shell script
- ๐ฆ Minimal dependencies, single binary, zero-config launch
bash <(curl -sSL https://raw.githubusercontent.com/crypto-chiefs/dnsbox/main/scripts/install.sh) --ip=167.172.5.205 --domain=dnsbox.io --ns=ns3Parameters:
--ipโ your public IP address (required)--domainโ the root domain bound to the NS (e.g.,dnsbox.io)--nsโ nameserver subdomain (e.g.,ns3)--force-resolvโ disables systemd-resolved and sets 8.8.8.8--debugโ enables verbose output
- DNSBox launches a nameserver that serves A/AAAA and TXT records on the fly.
- You get a subdomain like
167.172.5.205.dnsbox.io. - Let's Encrypt checks for a
_acme-challengeTXT record and issues a certificate. - DNSBox automatically stores, renews, and serves the SSL certificate.
After installation, you can connect to your server over HTTPS:
curl https://167.172.5.205.dnsbox.ioOr test the SSL via OpenSSL:
openssl s_client -connect 167.172.5.205:443 -servername 167.172.5.205.dnsbox.io- Language: Go
- DNS Library: miekg/dns
- TLS: standard
crypto/tls - ACME Client: built-in ACME support (no certbot)
- On-the-fly logic: all DNS queries and challenges are handled in memory
- ๐ง DevOps infrastructure without domains
- ๐ก IoT devices with public IPs
- ๐งช Lab/staging environments
- ๐ Fast API deployment without DNS
- ๐ VPN/Proxy services requiring HTTPS
All Let's Encrypt challenge requests are served only during valid IP validation. TLS private keys are stored in /var/lib/dnsbox/certs.
Unlike existing services:
- DNSBox is a self-hosted open-source solution
- Deploy your own
*.yourdomain.tld - Supports IPv6, ACME, and certificates without third-party APIs
This project is licensed under the MIT License. Use it freely, fork it, extend it.
- ๐ Project website: https://dnsbox.io/
- ๐ฆ Installer: install.sh
- ๐ Documentation: in progress
โญ If you find this project useful, please star it on GitHub!