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

Comments on Ubuntu system has lost DNS access

Post

Ubuntu system has lost DNS access

+1
−0

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?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Now moot (1 comment)
Now moot
gmcgath‭ wrote 5 months ago

This is now moot for me. I reinstalled Ubuntu, since there wasn't anything important that won't be easy to set up again. But I'm now installing Timeshift. :)