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 99 forks source link

Stubby 127.0.0.1 not able to connect. #352

Open QKCJQ opened 1 year ago

QKCJQ commented 1 year ago

Hi I have stubby install and running on Ubuntu 22.04.03 LTS on my system. These 2 days I have been having "unable to connect to internet" when I switch on DNS 127.0.0.1, and when I turn off DNS 127.0.0.1, my internet connection will be normal. When I run systemctl status stubby on terminal, I got the error as below

jq@OEM:~$ systemctl status stubby × stubby.service - DNS Privacy Stub Resolver Loaded: loaded (/lib/systemd/system/stubby.service; enabled; vendor preset> Active: failed (Result: exit-code) since Tue 2023-11-21 09:37:55 +08; 18mi> Docs: https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Daemon+-+Stubby Process: 1637 ExecStart=/usr/bin/stubby -C /etc/stubby/stubby.yml (code=exi> Main PID: 1637 (code=exited, status=46) CPU: 30ms

Nov 21 09:37:53 OEM systemd[1]: stubby.service: Main process exited, code=exite> Nov 21 09:37:53 OEM systemd[1]: stubby.service: Failed with result 'exit-code'. Nov 21 09:37:55 OEM systemd[1]: stubby.service: Scheduled restart job, restart > Nov 21 09:37:55 OEM systemd[1]: Stopped DNS Privacy Stub Resolver. Nov 21 09:37:55 OEM systemd[1]: stubby.service: Start request repeated too quic> Nov 21 09:37:55 OEM systemd[1]: stubby.service: Failed with result 'exit-code'. Nov 21 09:37:55 OEM systemd[1]: Failed to start DNS Privacy Stub Resolver. lines 1-15/15 (END)

Screenshot from 2023-11-21 09-36-47 Screenshot from 2023-11-21 09-33-26

As attach are the config and error codes.

I appreciate all the help Thank you