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?
../needed? Why shouldn't we usesudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf? – Basj May 15 '17 at 14:28grep: /etc/resolv.conf: No such file or directory– itsazzad Jun 19 '18 at 06:30resolve.conf. you should trysudo chattr -a -i /etc/resolv.conf– Phoenix Feb 27 '21 at 19:50