Privacy-Protecting Portable Router: Adding DNS-Over-TLS support to OpenWRT (LEDE) with Unbound
Apr 9, 2018Junade Ali

Summary
This post details the technical steps required to configure an OpenWRT (LEDE) router to use DNS-over-TLS (DoT) with Cloudflare's 1.1.1.1 resolver. It covers replacing the default Dnsmasq with Unbound and odhcpd, configuring Unbound to forward requests to Cloudflare's DoT endpoints, and merging DHCP configurations. The post provides concrete commands and configuration snippets for SSHing into the router, installing packages, and modifying configuration files. It demonstrates the successful encryption of DNS traffic using TLS v1.2.
More from the DNS Infrastructure & Naming Conventions trail
- The keys to the Internet change on October 11, 2026. Are you ready?
- 1.1.1.1 now supports post-quantum DNSSEC, all 2,420 bytes of it
- How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache
- BGP ORIGIN attribute manipulation and its impact on the Internet
- Cloudflare Internal DNS is now generally available