Score:0

Only have Internet through Tor - DNS problem?

cc flag

I have not been able to access the internet for a few days, only through the Tor browser. I guess it is a DNS problem. I also suspect this could have something to do with my VPN (Proton). I had this problem already 2 months ago and I had to reinstall Ubuntu as i could not find the answer to my problem.

I run Ubuntu 22.04 over a thinkpad laptop

Also worth mentioning, I have installed a FreedomBox (small home server) 10 days ago but everything was working fine so after.

I copied several commands I have tried or that were recommended in related posts. It didn't help me so far / I couldn't take advantage of the results myself

thanks Emma

Commands:

sudo apt update 
sudo apt upgrade
ls -l /etc/resolv.conf
cat /etc/resolv.conf
resolvectl status
ping 8.8.8.8
ping google.com

Results:

~$ sudo apt update
Ign:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease                      
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease               
                  
(...)        
        
0% [Connecting to security.ubuntu.com] [Connecting to ppa.launchpadcontent.net]^Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease               
  Temporary failure resolving 'security.ubuntu.com'
Err:5 https://ppa.launchpadcontent.net/micahflee/ppa/ubuntu jammy InRelease    
  Temporary failure resolving 'ppa.launchpadcontent.net'
Err:4 https://updates.signal.org/desktop/apt xenial InRelease                  
  Temporary failure resolving 'updates.signal.org'
Reading package lists... Done           
Building dependency tree... Done
Reading state information... Done
59 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/jammy/InRelease  Temporary failure resolving 'de.archive.ubuntu.com'

(...)


xxx@xxx:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi libflashrom1 libftdi1-2
  libgstreamer-plugins-bad1.0-0 libva-wayland2
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
  libfprint-2-2 libglib2.0-0 libglib2.0-bin libglib2.0-data
The following packages will be upgraded:
  apport apport-gtk firmware-sof-signed fonts-opensymbol gir1.2-gdkpixbuf-2.0
  gir1.2-gnomedesktop-3.0 gnome-desktop3-data libgdk-pixbuf-2.0-0
  libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgnome-bg-4-1
  libgnome-desktop-3-19 libgnome-desktop-4-1 libnetplan0 libreoffice-base-core
  libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
  libreoffice-gnome libreoffice-gtk3 libreoffice-help-common
  libreoffice-help-de libreoffice-help-en-gb libreoffice-help-en-us
  libreoffice-help-fr libreoffice-impress libreoffice-l10n-de
  libreoffice-l10n-en-gb libreoffice-l10n-en-za libreoffice-l10n-fr
  libreoffice-math libreoffice-ogltrans libreoffice-pdfimport
  libreoffice-style-breeze libreoffice-style-colibre
  libreoffice-style-elementary libreoffice-style-yaru libreoffice-writer
  libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
  libuno-salhelpergcc3-3 linux-firmware netplan.io openvpn python3-apport
  python3-problem-report python3-uno rsync signal-desktop
  ubuntu-advantage-tools uno-libs-private ure
55 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 492 MB of archives.
After this operation, 8.478 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://de.archive.ubuntu.com/ubuntu jammy-updates/main amd64 rsync amd64 3.2.3-8ubuntu3.1
Ign:2 https://updates.signal.org/desktop/apt xenial/main amd64 signal-desktop amd64 6.0.0

(...)


xxx@xxx:~$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Okt 25 16:34 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
xxx@xxx:~$ cat /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver xxx.0.xxx.53
options edns0 trust-ad
search .
xxx@xxx:~$ resolvectl status
Global
       Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub

Link 2 (enp0s25)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 3 (wlp3s0)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 4 (ipv6leakintrf0)
    Current Scopes: DNS
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: ::1
       DNS Servers: ::1
        DNS Domain: ~.


xxx@xxx:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=114 time=15.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=114 time=16.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=114 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=114 time=14.9 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=114 time=15.1 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=114 time=13.7 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=114 time=13.0 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=114 time=14.0 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=114 time=17.3 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=114 time=15.8 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=114 time=16.7 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=114 time=16.8 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=114 time=15.2 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=114 time=13.6 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=114 time=14.4 ms
64 bytes from 8.8.8.8: icmp_seq=16 ttl=114 time=15.5 ms
64 bytes from 8.8.8.8: icmp_seq=17 ttl=114 time=15.7 ms
64 bytes from 8.8.8.8: icmp_seq=18 ttl=114 time=14.7 ms

xxx@xxx:~$ ping google.com
ping: google.com: Temporary failure in name resolution
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.