Blocky: Fast and Lightweight DNS Proxy and Ad-Blocker for Your Network
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
Blocky is a fast and lightweight DNS proxy designed to function as an ad-blocker for your local network. Written in Go, it offers extensive features including advanced DNS configuration, various protocol support like DoH and DoT, and robust security and privacy measures, making it an excellent self-hosted solution.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
Blocky is an open-source, high-performance DNS proxy and ad-blocker built in Go, designed to enhance your local network's security and browsing experience. It effectively blocks ads and malware by filtering DNS queries, offering a comprehensive solution for network-wide content control. With its lightweight footprint and extensive feature set, Blocky provides a powerful alternative to traditional ad-blocking methods.
Installation
Getting started with Blocky is straightforward, designed for simplicity and quick deployment. The project offers a single binary for direct execution and a multi-arch Docker image, making it suitable for various environments, including Raspberry Pi. For detailed installation instructions and quick start guides, please refer to the official Blocky documentation (opens in a new tab).
Examples
Blocky goes beyond basic ad-blocking, providing advanced DNS configuration options. You can define custom DNS resolutions for specific domains, implement conditional forwarding to different external DNS servers, and even assign unique upstream resolvers per client group (e.g., Kids, Smart home devices). It supports blocking based on request domain, CNAME, and IP addresses, along with allowlisting and denylisting capabilities. For comprehensive examples and configuration details, visit the full documentation (opens in a new tab).
Why Use Blocky?
Blocky stands out for several compelling reasons. It significantly improves network speed and performance through customizable DNS caching, prefetching of frequently used queries, and simultaneous use of multiple external resolvers. Security and privacy are paramount, with support for modern DNS protocols like DNS over HTTPS (DoH) and DNS over TLS (DoT), DNSSEC, and a strict policy of not collecting any user data or telemetry. Its simple YAML configuration, stateless design, and integration with tools like Prometheus and Grafana make it highly flexible and easy to manage for self-hosted environments.
Links
- GitHub Repository (opens in a new tab)
- Official Documentation (opens in a new tab)
- Docker Hub (opens in a new tab)
Related repositories
Similar repositories that may be relevant next.

Helium: A Privacy-First, Chromium-Based Web Browser
July 1, 2026
Helium is an open-source, Chromium-based web browser designed with a strong focus on user privacy and an unbiased ad-blocking experience. It aims to provide a fast, honest, and bloat-free browsing environment for users. Built upon ungoogled-chromium, it offers a secure alternative for daily web navigation.

13ft: Self-Hosted Paywall Bypass and Ad Blocker
December 10, 2025
13ft is a powerful, self-hosted Python application designed to bypass paywalls and block ads on various websites, including those that services like 12ft.io might miss. It operates by impersonating GoogleBot to access the full content of articles. This open-source tool offers a flexible solution for users seeking to read restricted content.
Source repository
Open the original repository on GitHub.