You are not logged in.

#1 2021-02-12 09:10:04

kolana
Member
Registered: 2021-02-12
Posts: 76

Stubby not working on arch

Hi everyone,

Hi, I wanted to use stubby to encrypt my dns queries on arch, so I installed it

then done

sudo systemctl start stubby
sudo systemctl enable stubby


after i added 127.0.0.1 to my WIFI setting and choosed cloudflare as dns resolver in /etc/stubby/stubby.yml

here is my stubby.yml : https://pastebin.com/zfVLXCyF

then sudo systemctl restart NetworkManager


but, dns queries still plaintext (verified with wireshark) even if stubby is working

Offline

#2 2021-02-12 10:02:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,346

Re: Stubby not working on arch

restarting networkmanager will usually not drop your active connection, actually disconnect and reconnect.

Offline

#3 2021-02-12 10:06:39

kolana
Member
Registered: 2021-02-12
Posts: 76

Re: Stubby not working on arch

Ok, have you got a solution for my problem ?

Offline

#4 2021-02-12 10:12:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,346

Re: Stubby not working on arch

Have your reconnected your interface? Reboot to be sure. Did you do the changes to resolv.conf and configure networkmanager to not touch it ?

https://wiki.archlinux.org/index.php/St … esolv.conf
https://wiki.archlinux.org/index.php/Do … esolv.conf
https://wiki.archlinux.org/index.php/Ne … esolv.conf

Offline

#5 2021-02-12 10:37:48

kolana
Member
Registered: 2021-02-12
Posts: 76

Re: Stubby not working on arch

I verified with systemctl status stubby, i got

Feb 10 21:53:15 Unknown stubby[571]: [20:53:15.264829] STUBBY: DNSSEC Validation is OFF
Feb 10 21:53:15 Unknown stubby[571]: [20:53:15.264864] STUBBY: Transport list is:
Feb 10 21:53:15 Unknown stubby[571]: [20:53:15.264882] STUBBY:   - TLS
Feb 10 21:53:15 Unknown stubby[571]: [20:53:15.264898] STUBBY: Privacy Usage Profile is Strict (Authentication required)
Feb 10 21:53:15 Unknown stubby[571]: [20:53:15.264916] STUBBY: (NOTE a Strict Profile only applies when TLS is the ONLY transport!!)
Feb 10 21:53:15 Unknown stubby[571]: [20:53:15.264933] STUBBY: Starting DAEMON....
Feb 12 11:25:49 Unknown stubby[571]: Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
Feb 12 11:25:49 Unknown stubby[571]: Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
Feb 12 11:25:49 Unknown stubby[571]: Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports
Feb 12 11:25:49 Unknown stubby[571]: Could not schedule query: None of the configured upstreams could be used to send queries on the specified transports

could it help you to figure out the exact problem ?

Offline

#6 2021-02-12 10:39:23

kolana
Member
Registered: 2021-02-12
Posts: 76

Re: Stubby not working on arch

I rebooted to no avail

here is resolv.conf content

# Generated by NetworkManager
nameserver 127.0.0.1

Offline

Board footer

Powered by FluxBB