Bugzilla – Bug 1219028
dnscrypt takes a long time to activate the internet connection
Last modified: 2024-02-21 08:46:54 UTC
Created attachment 872036 [details] My dnscrypt-proxy.toml I'm on openSUSE Tumbleweed and I have a `dnscrypt-proxy` installed. Everything works fine, except for one: sometimes after rebooting it takes a long time to activate the internet connection (it may take up to 30 seconds). It also very rarely happens that the internet connection isn't activated at all and in this case even restarting the `dnscrypt-proxy` and `NetworkManager` services doesn't help, so I have to reboot my system. There's no such issue on Ubuntu and there I can use the internet immediately after logging in.
With the currently available information i can't see hints for an actionable bug in dnscrypt-proxy package. With default configuration dnscrypt-proxy requires network connectivity, but other tools are used to setup or "activate" the network and provide connection to "internet".
What other information should I provide you with? I don't see any errors in the logs. By "internet connection isn't activated" I mean that the internet connection is actually present (i.e. `ping 8.8.8.8' succeeded), but I can't resolve IP addresses (i.e. `ping google.com' failed). My /etc/NetworkManager/NetworkManager.conf has the default contents except for this: > [main] > rc-manager=unmanaged My /etc/resolv.conf looks like this: > nameserver 127.0.0.1 > options edns0 single-request-reopen
Sorry, i can't help you with networkmanager related stuff. One approach to debug the issue would be searching in logs and with systemd tools to find differences between the situation with working and not working dns resolution. The various dnscrypt-proxy log files might be useful, status of involved systemd units, custom configurations changes, ... Does this only happen with dnscrypt-proxy and not with other local resolvers? If the network is up, dnscrypt-proxy receives a query but can't resolve it, i thought it should be possible to see this in its logs. Is the attached file the complete configuration? The default openSUSE one looks differently. For example it offers more logging options that can be used to debug but are missing here.
It seems that switching to the default configuration fixed this issue for me. Thank you for your help.