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?
It's easy to fix. Just open a terminal and run the following commands:
As of Ubuntu 12.04 resolvconf is part of the base system. You can recreate the needed symlink by running
or by doing the following in a terminal.
Note that as of Ubuntu 12.10 resolvconf no longer aborts if /etc/resolv.conf is not a symlink. It does print a warning message, but this can be silenced by putting the line