The post discusses transforming an ESP32 microcontroller into a DNS sinkhole to block social media sites and combat doomscrolling. The author details the process of configuring the ESP32 as a custom DNS server that reroutes traffic to non-routable IPs, effectively blocking access to specified domains. The project uses the Arduino IDE for programming and focuses on low-level networking and DNS protocols.
Table of contents
What's DNS?But, what's a sinkhole?Connecting to the InternetSetting up a simple DNS serverUnderstanding DNS packetsHandling incoming DNS queriesDealing with responses from 1.1.1.1Bringing it all togetherSigning offFull codeReferences3 Comments
Sort: