Egyptian developer builds a $5 ad-blocking dongle using ESP32-C3, stores 537,000 domains in 4MB
> cd .. / HUB_EDITORIALE
News

Egyptian developer builds a $5 ad-blocking dongle using ESP32-C3, stores 537,000 domains in 4MB

[2026-07-23] Author: Ing. Calogero Bono
> share
Zenithby Meteora Web The operating system for your business. Social, clients, bookings and invoices in one platform. Gyms, barbers, professionals. Discover Zenith Free demo · no card

Blocking annoying online ads often requires software like Pi-Hole running on a Raspberry Pi. But what happens when the device reboots or goes offline? Egyptian developer ZedAxis has proposed a compact and inexpensive alternative. He created a dongle based on the ESP32-C3 SuperMini board costing under $5, capable of storing over 537,000 blocked domains in just 4MB of flash memory.

A pocket-sized DNS sinkhole for ad blocking

The device acts as a DNS sinkhole: it intercepts DNS requests and prevents ads from known domains from loading. ZedAxis showcased the project in a YouTube video, demonstrating its simple setup. The board features Wi-Fi, Bluetooth 5.0, and is powered via USB-C, making it easy to plug into a router, TV, or any always-on device with a spare USB port. A 3D-printed case protects the hardware.

Sponsored Protocol

How 537,000 domains fit into 4MB of flash

Compression is the key innovation. Instead of storing domains in standard format, ZedAxis uses a 40-bit FNV-1a hashing algorithm optimized for speed and low collision rates. In practice, 141,000 domains occupy only 0.7MB of flash, while real-time matching requires less than 50KB of RAM. The maximum limit is around 250,000 domains to leave room for OTA updates, but users can decide the blacklist size during initial setup.

The source code is available on GitHub and includes features like a web dashboard, mDNS support, and over-the-air updates. Future additions may include DHCP server configuration. Such a project could interest small businesses looking to reduce bandwidth consumption caused by ads.

Sponsored Protocol

For those interested in blocking technologies, a recent article revealed how Apple can lock down leased iPhones via code in iOS 27 beta. Additionally, to understand the underlying technology, check the Wikipedia page on ESP32.

Source: https://www.techradar.com/pro/now-thats-one-way-to-block-annoying-online-ads-developer-uses-a-usd5-dongle-to-squeeze-in-537-000-domains-into-just-4mb-of-flash-memory

> share
Ing. Calogero Bono

> AUTHOR_EXTRACTED

Ing. Calogero Bono

Ingegnere informatico, fondatore di Meteora Web e Zenith OS. System administrator e progettista di piattaforme, app e CMS proprietari, con esperienza in sviluppo full-stack, marketing digitale ed ecosistema Google.
[ Read Full Dossier ]

> METEORA_WEB // DIGITAL AGENCY

We build the digital presence your business deserves.

Websites, social media, online advertising, e-commerce and high-performance hosting, engineered with method by computer engineers in Sciacca, for all of Italy.

> MW_JOURNAL

> READ_ALL()