SibDNS is a privacy-respecting DNS-over-HTTPS (DoH) server designed for Iranian infrastructure, allowing you to bypass censorship, resolve domains securely, and integrate cleanly with MikroTik and tunnel routing.
- 🔒 DNS-over-HTTPS (DoH) support
- 🌐 Tunneled DNS routing via MikroTik or any gateway
- 🐳 Docker & Docker Compose ready
- 💻 Manual setup supported
- ✅ Works with MikroTik, mobile, and desktop devices
sibdns/
├── manual/ # Manual install (no Docker)
│ ├── doh-server/ # Binary or source code
│ ├── doh-server.conf # Config file for manual run
│ └── install.sh # Install script
├── docker/ # Docker-based deployment
│ ├── docker-compose.yml
│ ├── Caddyfile # For HTTPS & reverse proxy
│ ├── doh-server.conf # Config for doh-server
│ └── .env.example # Custom environment vars
├── assets/ # Diagrams, logos, docs
├── README.md # This file
└── LICENSE
git clone https://github.com/warmulti/sibdns.git
cd sibdns/docker
Replace:
dns.sibdns.ir {
tls your@email.com
...
}
docker compose up -dcurl -H 'accept: application/dns-json' 'https://dns.sibdns.ir/dns-query?name=google.com&type=A'You should get a JSON response with IPs.
sudo apt update && sudo apt install golang -ygit clone https://github.com/m13253/dns-over-https.git
cd dns-over-https && makeExample:
{
"listen": "0.0.0.0:443",
"cert": "/etc/letsencrypt/live/yourdomain/fullchain.pem",
"key": "/etc/letsencrypt/live/yourdomain/privkey.pem",
"upstream_dns": ["8.8.8.8", "1.1.1.1"]
}
./doh-server -conf doh-server.conf/ip dns set use-doh-server=https://dns.sibdns.ir/dns-query verify-doh-cert=yes- ✅ Android (via Intra or 1.1.1.1 apps)
- ✅ Windows 11+ (built-in DoH settings)
- ✅ MikroTik
- ✅ Browsers like Firefox/Chrome
You can forward all port 53 traffic through a MikroTik router to your DoH server, and your DoH server will forward DNS queries via an encrypted tunnel to a foreign VPS.
Pull requests welcome!
MIT