Skip to content

Arduino Sketch made to host a DNS (Plain and Over HTTPS) into your little ESP32 Devkit or anyother without PSRAM.

Notifications You must be signed in to change notification settings

hyduez/esp32-devkit-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

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.conf on 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
ESP32 DevKit DNS Showcase image
DOH Test (DNS Leaks) image

About

Arduino Sketch made to host a DNS (Plain and Over HTTPS) into your little ESP32 Devkit or anyother without PSRAM.

Topics

Resources

Stars

Watchers

Forks

Languages