Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A Ubuntu system has lost DNS access

At the most embarrassing time, Firefox on my Ubuntu laptop wouldn't connect to any websites. I've narrowed it down to a DNS issue. I can ping IP addresses, sftp to the computer, etc. The problem af...

1 answer  ·  posted 5mo ago by gmcgath‭  ·  edited 3mo ago by matthewsnyder‭

Question ubuntu dns
#2: Post edited by user avatar matthewsnyder‭ · 2024-08-09T09:08:48Z (3 months ago)
Change the output to one block for better formatting
Ubuntu system has lost DNS access
  • At the most embarrassing time, Firefox on my Ubuntu laptop wouldn't connect to any websites. I've narrowed it down to a DNS issue. I can ping IP addresses, sftp to the computer, etc. The problem affects all applications. I'm running Ubuntu 22.04.4 LTS on a Dell Inspiron laptop. The results are the same whether I attempt access on my home network or at the public library.
  • Running nslookup on any domain name gives me
  • `communications error to 127.0.0.53#53: timed out`
  • three times.
  • Running `resolvectl status` gives the following output:
  • `Global
  • Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
  • resolv.conf mode: stub`
  • `Link 2 (wlp2s0)
  • Current Scopes: none
  • Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported`
  • `Link 3 (surfshark_ipv6)
  • Current Scopes: DNS
  • Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
  • Current DNS Server: ::1
  • DNS Servers: ::1
  • DNS Domain: ~.`
  • The Surfrhark reference jumps out at me. I have Surfshark (VPN software) installed but not currently running. I'm wondering if a Surfshark crash left my DNS in a bad state.
  • Since the machine can't access any domains by name, I'm limited in my options. Installing anything with apt doesn't work. I'm seriously thinking of backing up my data files and reinstalling Ubuntu, since I have nothing irreplaceable on that machine, but I'd like to fix the problem if possible. Any suggestions on how to proceed?
  • At the most embarrassing time, Firefox on my Ubuntu laptop wouldn't connect to any websites. I've narrowed it down to a DNS issue. I can ping IP addresses, sftp to the computer, etc. The problem affects all applications. I'm running Ubuntu 22.04.4 LTS on a Dell Inspiron laptop. The results are the same whether I attempt access on my home network or at the public library.
  • Running nslookup on any domain name gives me
  • `communications error to 127.0.0.53#53: timed out`
  • three times.
  • Running `resolvectl status` gives the following output:
  • ```
  • Global
  • Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
  • resolv.conf mode: stub
  • Link 2 (wlp2s0)
  • Current Scopes: none
  • Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
  • Link 3 (surfshark_ipv6)
  • Current Scopes: DNS
  • Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
  • Current DNS Server: ::1
  • DNS Servers: ::1
  • DNS Domain: ~.
  • ```
  • The Surfrhark reference jumps out at me. I have Surfshark (VPN software) installed but not currently running. I'm wondering if a Surfshark crash left my DNS in a bad state.
  • Since the machine can't access any domains by name, I'm limited in my options. Installing anything with apt doesn't work. I'm seriously thinking of backing up my data files and reinstalling Ubuntu, since I have nothing irreplaceable on that machine, but I'd like to fix the problem if possible. Any suggestions on how to proceed?
#1: Initial revision by user avatar gmcgath‭ · 2024-06-13T23:03:07Z (5 months ago)
Ubuntu system has lost DNS access
At the most embarrassing time, Firefox on my Ubuntu laptop wouldn't connect to any websites. I've narrowed it down to a DNS issue. I can ping IP addresses, sftp to the computer, etc. The problem affects all applications. I'm running Ubuntu 22.04.4 LTS on a Dell Inspiron laptop. The results are the same whether I attempt access on my home network or at the public library.

Running nslookup on any domain name gives me

`communications error to 127.0.0.53#53: timed out`

three times. 

Running `resolvectl status` gives the following output:


 `Global
       Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub`

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

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

The Surfrhark reference jumps out at me. I have Surfshark (VPN software) installed but not currently running. I'm wondering if a Surfshark crash left my DNS in a bad state. 

Since the machine can't access any domains by name, I'm limited in my options. Installing anything with apt doesn't work. I'm seriously thinking of backing up my data files and reinstalling Ubuntu, since I have nothing irreplaceable on that machine, but I'd like to fix the problem if possible. Any suggestions on how to proceed?