Forked from alexalouit/gist:aec7b74341d00d75236f42fadb3f6b26
Last active
December 3, 2020 05:53
-
-
Save haixuxu/ca1546fd37b0ebc9f11022b735a9d0da to your computer and use it in GitHub Desktop.
OpenWRT: DNS over TLS reference https://openwrt.org/docs/guide-user/services/dns/dot_dnsmasq_stubby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ 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