Article 5NAWH [SOLVED] I have lost my dns resolution

[SOLVED] I have lost my dns resolution

by
hazel
from LinuxQuestions.org on (#5NAWH)
Suddenly dns resolution does not work any more in AntiX-19.

My /etc/resolv.conf file turns out to be a link to /run/connman/resolv.conf, which doesn't exist. /run/resolvconf/resolv.conf does exist but is empty, with a warning not to edit it.

How do I get resolution working again?

PS: I have a temporary fix by editing a nameserver into /run/resolvconf/resolv.conf (after all, it's only a temporary filesystem so no permanent damage can be done), and relinking /etc/resolv.conf to it. But that's not a proper solution.

Fixed now! I was able to run an apt update with this "jury rig" and one of the packages updated was connman. Now the file /run/connman/resolv.conf exists again and the update script has relinked /etc/resolv.conf to it. Everything works again. Whew!latest?d=yIl2AUoC8zA latest?i=M8aYtNb03N8:Q5xyEhskvqM:F7zBnMy latest?i=M8aYtNb03N8:Q5xyEhskvqM:V_sGLiP latest?d=qj6IDK7rITs latest?i=M8aYtNb03N8:Q5xyEhskvqM:gIN9vFwM8aYtNb03N8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments