Tech

Open-source ESP32-C3 DNS ad blocker supports up to over 500,000 domains without PSRAM

Developed by Zed (M-Abozaid), the esp32-c3-adblock is an open-source, Pi-hole-style DNS ad blocker that runs on a $2 ESP32-C3 microcontroller board/module without requiring PSRAM. It blocks ads and tracking domains across devices on a home or small office network by filtering DNS requests. Instead of storing domain strings in RAM, the project stores them as sorted 40-bit FNV-1a hashes in flash memory and uses binary search to check DNS requests. When a UDP DNS query comes in, the C++ firmware…

Quelle: Originalartikel öffnen

AI Assistant
Context loaded: Open-source ESP32-C3 DNS ad blocker supports up to over 500,