Awesome Open Source
Awesome Open Source


DNS over HTTPS for OpenWRT/LEDE routers

Provides the DNS over HTTPS init.d script and configuration for the dnscrypt-proxy app from

  • Place the dnscrypt-proxy in /etc/init.d and chmod a+x
  • Place the dnscrypt-proxy.toml in /etc/config
  • Download the app from and place the executable in /usr/sbin/
  • /etc/init.d/dnscrypt-proxy enable
  • /etc/init.d/dnscrypt-proxy start

If you use dnsmasq, edit /etc/dnsmasq.conf so that the listening port is not conflicting with dnscrypt-proxy's. Set port=5053 for example, in /etc/dnsmasq.conf and set dhcp-option=3,x.x.x.x and dhcp-option=6,x.x.x.x where x.x.x.x is your router IP so that your router's dnscrypt-proxy is used to resolve the DNS.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (232,381
Proxy (3,440
Dns (2,004
Openwrt (576
Dns Over Https (141
Related Projects