getdnsapi / stubby

Stubby is the name given to a mode of using getdns which enables it to act as a local DNS Privacy stub resolver (using DNS-over-TLS).
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
BSD 3-Clause "New" or "Revised" License
1.2k stars 100 forks source link

Stubby on RDK-B #228

Open jpcleona opened 4 years ago

jpcleona commented 4 years ago

I am running stubby on a linux platform(RDK-B) in the raspberry pi. I have followed the instructions from https://www.linuxbabe.com/ubuntu/ubuntu-stubby-dns-over-tls and made changes in the /etc/resolv.conf file as follows: nameserver 127.0.0.1 nameserver 0::1 I would like to disable the dnsmasq which is the default DNS resolver on ubuntu systems and i tried the following command: systemctl disable dnsmasq.service But failed to disable dnsmasq.

I also tried to make changes in the /etc/dnsmasq.conf file by adding port=0; But still it failed to disable the dnsmasq. Please let me know if there is any way to disable the dnsmasq. Thanks in advance.

rampageX commented 4 years ago

pay attention:stubby is no cache,so disable dnsmasq is not a good option. set stubby as dnsmasq's upsteam server it's ok.

server=127.0.0.1#5555

5555 is stubby's listen port.