I recently started having trouble clearing cached Internet pages when I uploaded a new version to my web host. The support techs advised me to use systemd-resolved --flush-cache, which I'd never had to do before but it worked, so fine. Now I have ZERO Internet access. Opening Terminal and ping duckduckgo.com returns Temporary failure in name resolution.

I researched the issue and see that systemd-resolved is a common culprit.

Looking into fixing the problem, I found:

The whole effort is a bit outside my comfort zone so I decided a fresh install might be the safest way to correct this. I booted from a Live image on a USB drive and I had an immediate connection to the Internet so I backed up my personal data and reinstalled.

It worked for about 10 hours until after one of several restarts. Before I start trashing my operating system by disabling resolved:

  • Does anyone know where I can register a bug with the Elementary team?
  • Does anyone know if there is a simpler fix than editing config files?

1 Answer 1


Not receiving any replies, I plunged ahead on my own with the solution offered by Michael Wadman, Resolving my DNS Issues--Disabling systemd-resolved on Ubuntu 18.04.

Initially, this was clearly a partial solution—my manual edit only survived until my system went to sleep. When I woke it up, NetworkManager overwrote /etc/resolv.conf with one entry:

#Generated by NetworkManager

Not ideal but at least I could get on the Internet. Now it appears that NetworkManager is correctly updating resolv.conf. I don't believe I've restarted (I'm getting ready to leave town so I'm jumping around a lot) so I don't know what could've changed.

One odd thing is that my local network is in the 192.168.1.xxx address space and the nameserver is getting listed in 10.xxx.xxx.xxx. Anyone know why or whether this is anything to fix?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.