blocky
Fast and lightweight DNS proxy as ad-blocker for local network with many features
⭐ 6,583 stars on GitHub · 🍴 282 forks · 📜 License: apache-2.0 · 💻 Language: Go
What is blocky?
A standout opensource self-host project on GitHub — host on your own server for full control over your data and costs.
Main components
- Blocking - Blocking of DNS queries with external lists (Ad-block, malware) and allowlisting
- Definition of allow/denylists per client group (Kids, Smart home devices, etc.)
- Periodical reload of external allow/denylists
- Regex support
- Blocking of request domain, response CNAME (deep CNAME inspection) and response IP addresses (against IP lists)
- Advanced DNS configuration - not just an ad-blocker
- Custom DNS resolution for certain domain names
- Conditional forwarding to external DNS server
The biggest strength is active opensource community — fast bug fixes, regular features, no abandonment risk.
Best for self-host enthusiasts wanting to try a strong-community opensource project.
Topics: the project is tagged with popular topics:
- 🏷️
ad-blocker - 🏷️
adblock - 🏷️
adblocker - 🏷️
dns - 🏷️
dns-over-https - 🏷️
dns-server - 🏷️
golang - 🏷️
parental-control - 🏷️
pihole - 🏷️
self-hosted
Quick install
See the README for detailed install instructions. Most projects support Docker — if the repo has a Dockerfile, use:
git clone https://github.com/0xERR0R/blocky.git
cd blocky
docker build -t blocky .
docker run -d -p 8080:8080 blocky
Minimum system requirements
| Component | Recommended |
|---|---|
| RAM | 2048 MB |
| CPU | 2 vCPU |
| Disk | 25 GB SSD |
| OS | Ubuntu 22.04 LTS / Debian 12 |
| Docker | 24.0+ |
⚡ Deploy fast on VSIS
Use the VSIS VPS Lite 2GB RAM / 2 vCPU / 25GB SSD (~104k/tháng) plan from VSIS.NET — high-speed VN-based VPS, 24/7 support, ideal for running blocky smoothly.
🎯 Benefits:
- One-command
docker compose up -ddeploy in 2 minutes - Dedicated IPv4, root access, unmetered domestic bandwidth
- Daily snapshot backup
- Free install assistance from the VSIS team
👉 See matching VPS plans at vsis.net
Resources
- 🔗 GitHub: 0xERR0R/blocky
- 🌐 Homepage: https://0xERR0R.github.io/blocky/
- 📚 Official docs: see README in the repo
- 💬 Community: GitHub Issues + Discussions
Article compiled from GitHub data on 05/05/2026. Star/fork counts may have changed — see live numbers via the GitHub link.