Simple DNS hosted on an ESP32 DevKit v1 (no PSRAM). Add your URLs on blockedDomains[] and that's all. Enable DOH in the settings panel; it affects performance slightly. Hide your traffic from your ISP over HTTPS Encrypted Resolution. (Not at all due you need a VPN, but for public places it's kinda lovely)
$ arduino-cli compile --fqbn esp32:esp32:esp32 .
$ arduino-cli upload -p /dev/ttyUSB0 --fqbn esp32:esp32:esp32 .To monitorize it you can use picocom /dev/ttyUSB0 -b 115200 --imap lfcrlf, minicom -D /dev/ttyUSB0 -b 115200 or view live logs on the web server (credentials: root, protectme).
How to use: Once you have logged in to your own SSID (ProtectMe-net by default) and entered your credentials (protectme), go to 198.168.4.1, select your network, and log in. ESP32 will now on the network you selected, it will display via Serial which is its IP. Anyways, you can access to config panel via https://dns.me/ (once you are using the dns, otherwise us arp-scan or look on your serial terminal)
Remember:
- 198.168.4.1: inside of ESP32 network, you'll only be here for the first time or if something bad happened to the network connection
- 198.168.1.28: inside of your network, put it on
resolv.confon linux or go to your settings -> wifi's advanced configuration and DNS Resolution.
Default Credentials:
- SSID: ProtectMe-net
- Password: protectme
- User (for Config Panel): root

