Skip to content

Instantly share code, notes, and snippets.

@haixuxu
Forked from alexalouit/gist:aec7b74341d00d75236f42fadb3f6b26
Last active December 3, 2020 05:53
Show Gist options
  • Select an option

  • Save haixuxu/ca1546fd37b0ebc9f11022b735a9d0da to your computer and use it in GitHub Desktop.

Select an option

Save haixuxu/ca1546fd37b0ebc9f11022b735a9d0da to your computer and use it in GitHub Desktop.
$ 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