Skip to content

Instantly share code, notes, and snippets.

@alexalouit
Created December 30, 2019 07:17
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alexalouit/aec7b74341d00d75236f42fadb3f6b26 to your computer and use it in GitHub Desktop.
Save alexalouit/aec7b74341d00d75236f42fadb3f6b26 to your computer and use it in GitHub Desktop.
OpenWRT: DNS over TLS
$ opkg update
$ opkg install stubby
$ /etc/init.d/stubby enable
$ nano /etc/config/dhcp
# add to dnsmasq section:
option noresolv '1'
list server '127.0.0.1#5453'
$ /etc/init.d/stubby start
$ /etc/init.d/dnsmasq restart
# change resolver:
$ nano /etc/stubby/stubby.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment