Would appreciate some help/suggestions as to how I can fix the below problem to reliably get online again.
Suddenly one day when I was just doing my thing, my computer froze and I had to shut down. When I started it up again, I couldn’t access any websites.
After some time diagnosing, I found out that the issue was the device was not resolving domains. I found the file where the list of DNS servers get written to when using DHCP at /etc/resolv.conf
, where it had the following in it:
'# Generated by Network Manager
nameserver ::1
What even is that? I set it to Google’s 8.8.8.8 DNS server, however I’ve noticed that every time my computer resumes from sleep, restarts, or I change Wi-Fi routers, it gets rewritten to ::1 again. I don’t know how to get the Network Manager to stop it from doing this, but right now I need to edit the file multiple times a day to connect to the internet.
I’ve tried things like editing /etc/dhcp/dhclient.conf
to precede, or supersede with 8.8.8.8, but this doesn’t seem to help, and obviously won’t work when a network doesn’t allow this DNS server. The only thing that really had changed on my computer was I had applied the regular updates. I tried uninstalling my VPN in case that was the cause, but the problem still persists, and there wasn’t a problem with the VPN before.