Resolvconf -u gives the error "resolvconf: Error: /etc/resolv.conf must be a symlink"

Azendale

I use resolvconf to have static DNS servers set in /etc/resolv.conf. However, when I run sudo resolvconf -u to update /etc/resolv.conf with new static information, I get the error 'resolvconf: Error: /etc/resolv.conf must be a symlink'. How can I fix this?

Azendale

It's easy to fix. Just open a terminal and run the following commands:

sudo rm /etc/resolv.conf
sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
sudo resolvconf -u

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related