MeshDNS: Cooperative DNS Resolution for Microcontroller Fleets
Almost every small IoT device on a home network asks the same question many times a day: what address belongs to this name? Most of them put that question to the router, which forwards it upstream. It is a quiet dependency, and it fails in three ways. Every lookup pays for a round trip to somewhere else. A poisoned answer from the router is accepted without a second thought. And the encrypted alternative, DNS-over-HTTPS, needs a working internet connection, so it goes dark exactly when the link drops and the devices could most use a local answer.
MeshDNS is my attempt at a different arrangement, and I built it on my own as first author. Instead of every device trusting the access point, a fleet of microcontrollers on the same network looks after name resolution together. Each node keeps a small, bounded cache, so a name it has already seen is answered straight away. When a node meets a name it does not have, it asks its peers. It only accepts an address if enough of them return the same answer, and every answer is signed, so a single faulty or compromised device cannot talk the others into a bad record. The very first time anyone in the fleet looks up a name, the lookup goes out over DNS-over-HTTPS to a pinned server, and on the ESP32 the DNSSEC chain is checked as well.
The hard part was doing this on hardware that is genuinely small. The fleets mix ESP8266, ESP32, ESP32-S3 and ESP32-C3 boards, and the ESP8266 has less than 50 KB of RAM to spare. That ruled out heavy overlay networks and pushed me towards a design with no routing state at all: every peer is one hop away through the same access point, and a node only talks to a short table of admitted peers. Peers join by proving they know a shared key, and the votes are verified before any expensive cryptography is spent on them.

I tested it on three physical testbeds, with adversarial rounds where peers lied, where an attacker tried to hold several addresses at once, and where the access point itself returned poisoned answers. As long as the attackers controlled fewer peers than the quorum needs, no poisoned answer was accepted. When the internet connection was cut for short periods, the fleet still answered 98% of lookups, because cached and peer-agreed records do not need the upstream link.

The trade-off is cost on a cold lookup. Agreeing with peers takes longer than asking one forwarder, and it is slowest on the smallest chips, which is the price of authenticated answers. Two limits are worth being clear about. MeshDNS is scoped to a single subnet, which is what a typical home Wi-Fi network looks like, and the first record for a name is only as trustworthy as the pinned DoH server that supplied it. A member that holds the shared key can also refuse to vote, which hurts availability even though it cannot forge an answer.
The public preprint is on arXiv: MeshDNS: A Cooperative DNS Resolution Framework for Resource-Constrained IoT Networks, with M. A. Hossain and N. Bin Hannan. An extended full paper is under review at a systems venue.