Description
ESP32_AdBlocker turns an ESP32 board into a DNS sinkhole, similar to Pi-hole. For any domain on its blocklist it returns 0.0.0.0, so devices cannot load content from or send data to that domain. Every other query is resolved through an external DNS server. The project is an Arduino sketch. The device runs a web page that shows the service status, including counts of allowed and blocked requests since startup, and it lets you add your own domains to a custom block or allow list. The blocklist is a HOSTS or Adblock format file that you choose, such as the StevenBlack hosts list. It is downloaded at power-up and refreshed daily at a set time. The README recommends an ESP32-S3 with 8 MB of PSRAM, notes that the first processing takes several minutes, and says the ESP32-S3 is about twice as fast as the original ESP32. The source is public on GitHub.…
Highlights
- Blocks ads and trackers at the DNS level
- Forwards other queries to an upstream DNS
- Web page for status and custom lists
- Daily blocklist update from HOSTS or Adblock files
- Runs on ESP32 boards with PSRAM
Ratings & Reviews
No ratings yet
Be the first to rate ESP32_AdBlocker.
People also visit
Cloudflare Gateway Pihole Scripts
Use Cloudflare Gateway DNS/VPN to block ads, malware and tracking domains
ESP32_AdBlocker FAQ
What does ESP32_AdBlocker do?
It is a DNS sinkhole. It answers 0.0.0.0 for blocked domains and resolves everything else through an external DNS server.
What hardware do I need?
An ESP32 board with PSRAM. The README recommends an ESP32-S3 with 8 MB of PSRAM.
How is it installed?
It is an Arduino sketch, so you build and upload it with the Arduino toolchain. The README covers installation and configuration.
Where does the blocklist come from?
From a HOSTS or Adblock format file that you choose. It is downloaded at start-up and refreshed daily, and the README suggests StevenBlack's hosts list.
Can I block or allow my own domains?
Yes. Custom domains are kept in a local list that you manage from the web page.
What are the best ESP32_AdBlocker alternatives?
Popular alternatives to ESP32_AdBlocker include AdGuardDNS, Cloudflare Gateway Pihole Scripts and BlockLists. See all ESP32_AdBlocker alternatives


