Description
esp32-c3-adblock is a DNS ad blocker that runs on a small, inexpensive ESP32-C3 microcontroller board and works in the style of Pi-hole. The project keeps the blocklist in flash memory rather than RAM. Each domain is stored as a sorted 40-bit hash, and a lookup is a binary search, so about 140,000 domains fit in roughly 0.7 MB of flash and are matched in about 10 ms, using around 50 KB of RAM. The README says the project needs no PSRAM, and it compares this with approaches that load domain strings into RAM and so need more hardware. It works as a UDP DNS sinkhole, and it includes a web dashboard. The README explains the choice of 40-bit hashes and the collision rate at different list sizes, gives hardware and enclosure notes, and shows how to build and flash it with PlatformIO. Users can add their own blocklists. The project has been covered by several technology sites.…
Highlights
- DNS sinkhole on a $2 ESP32-C3 board
- Blocklist stored as hashes in flash
- Binary search with about 50 KB RAM
- Web dashboard
- Build and flash with PlatformIO
Ratings & Reviews
No ratings yet
Be the first to rate Esp32 C3 Adblock.
People also visit
Esp32 C3 Adblock FAQ
What is esp32-c3-adblock?
A DNS ad blocker that runs on a small ESP32-C3 board and blocks domains in the style of Pi-hole.
Does it need extra memory?
No PSRAM is needed, according to the README. The blocklist lives in flash, and the project uses about 50 KB of RAM.
How many domains does it handle?
The README says 140,000 or more domains fit in about 0.7 MB of flash, and it has tested a list of 537,000 domains.
How do I build it?
The README gives build and flash steps using PlatformIO, plus notes on hardware and an enclosure.
Can I use my own blocklists?
Yes. The README has a section on your own blocklists.
What are the best Esp32 C3 Adblock alternatives?
Popular alternatives to Esp32 C3 Adblock include YouTube_ads_4_pi-hole. See all Esp32 C3 Adblock alternatives


