Does Not Work.

Bug #1999949 reported by Marcelo Marchi Negreira
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dnscrypt-proxy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

DNSCrypt-Proxy does not work in Ubuntu 22.04 LTS, even with net manager configured for 127.0.2.1 or 127.0.0.1
No connection with DNS servers.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: dnscrypt-proxy 2.0.45+ds1-1
Uname: Linux 6.1.0.mmn x86_64
ApportVersion: 2.20.11-0ubuntu82.2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 16 19:56:09 2022
InstallationDate: Installed on 2022-12-14 (2 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: dnscrypt-proxy
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marcelo Marchi Negreira (mmnegreira) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dnscrypt-proxy (Ubuntu):
status: New → Confirmed
Revision history for this message
Pascal Mons (anton+) wrote (last edit ):
Download full text (10.4 KiB)

However, the build from this PPA is working fine. Mainly the /etc/dnscrypt-proxy/dnscrypt-proxy.toml file has kept its original GitHub developer website posting ... Further proof the Debian.org alterations are just pure bullshit ...

https://launchpad.net/~shevchuk/+archive/ubuntu/dnscrypt-proxy/+packages

Or download the .deb file and proceed with $ dpkg -i dnscrypt-proxy_2.0.45~ppa2_amd64.deb

You can as well un-comment the resolver_names line and add / remove resolver(s) in that file which list is maintained on the original developer website as well :

https://dnscrypt.info/public-servers/

In the end, I just changed the DNS for IP v4 to 127.0.2.1 and it's equally working great!

Of course you still need to prevent Ubuntu updates on that package.

$ sudo echo "dnscrypt-proxy hold" | dpkg --set-selections

To re-authorize update

$ sudo echo "dnscrypt-proxy install" | dpkg --set-selections

That's it.

[NOTE]: $ journalctl -xeu dnscrypt-proxy.service

will provide a list of dns server with their latency

Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 160ms openinternet
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 166ms dnscry.pt-castlegar-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 166ms dnswarden-uncensor-dc
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 173ms dnscry.pt-singapore-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 180ms quad9-doh-ip4-port443-nofilter-ecs-pri
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 183ms bebasdns-unfiltered-doh
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 187ms wevpn-singapore
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 194ms dnscry.pt-johannesburg-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 249ms jp.tiar.app
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 251ms jp.tiarap.org
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 262ms saldns02-conoha-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 267ms saldns01-conoha-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 269ms sby-limotelu
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 294ms dnscry.pt-sydney-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 303ms dnscry.pt-tokyo-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 342ms dnscry.pt-valdivia-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 358ms saldns03-conoha-ipv4
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 376ms deffer-dns.au
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 394ms plan9dns-mx
Dec 04 16:10:42 Z370 dnscrypt-proxy[231606]: [2023-12-04 16:10:42] [NOTICE] - 400ms bebasdns-unfiltered-dnscrypt
Dec 04 16:10:42 Z370 dnscrypt-proxy[2316...

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :
Download full text (3.2 KiB)

I am unable to reproduce this problem in Jammy. Installed dnscrypt-proxy and modified /etc/dnscrypt-proxy/dnscrypt-proxy.toml to add more servers, and then restarted dnscrypt-proxy.service. After that "journalctl -xeu dnscrypt-proxy.service" is showing me the following log which I think shows that its working.

Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] dnscrypt-proxy 2.0.45
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] Network connectivity detected
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [WARNING] Systemd sockets are untested and unsupported - use at your own risk
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] Wiring systemd TCP socket #0, dnscrypt-proxy.socket, 127.0.2.1:53
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] Wiring systemd UDP socket #1, dnscrypt-proxy.socket, 127.0.2.1:53
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] Source [public-resolvers] loaded
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] Firefox workaround initialized
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] [sby-limotelu] OK (DNSCrypt) - rtt: 281ms
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] [cloudflare] OK (DoH) - rtt: 15ms
Dec 20 13:23:00 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:00] [NOTICE] [deffer-dns.au] OK (DNSCrypt) - rtt: 322ms
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] [jp.tiar.app] OK (DNSCrypt) - rtt: 307ms
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] [openinternet] OK (DNSCrypt) - rtt: 204ms
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] [wevpn-singapore] OK (DNSCrypt) - rtt: 305ms
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] Sorted latencies:
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] - 15ms cloudflare
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] - 204ms openinternet
 - 281ms sby-limotelu
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] - 305ms wevpn-singapore
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] - 307ms jp.tiar.app
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] - 322ms deffer-dns.au
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] Server with the lowest initial latency: cloudflare (rtt: 15ms)
Dec 20 13:23:01 autopkgtest dnscrypt-proxy[1234]: [2023-12-20 13:23:01] [NOTICE] dnscrypt-proxy is ready - live servers: 6

Packages tested:
$ dpkg -l | grep dnscrypt-proxy
ii dnscrypt-proxy 2.0.45+ds1-1 amd64 Flexible DNS proxy, with support for encrypted DNS protocols

Jammy realease:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.