Debian 9.1.0
$ sudo nano /etc/resolv.conf
adding
Code: Select all
nameserver 8.8.8.8
nameserver 8.8.4.4
Code: Select all
chattr: Operation not supported while reading flags on /etc/resolv.conf
Please help. Thanks
Regards
satimis
Code: Select all
nameserver 8.8.8.8
nameserver 8.8.4.4
Code: Select all
chattr: Operation not supported while reading flags on /etc/resolv.conf
Code: Select all
dns-nameservers ip1 ip2 ... ipn
Code: Select all
lrwxrwxrwx 1 root root 29 Jul 24 2016 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
Hi Peter,peter_irich wrote:Install resolvconf and place desired dns servers addresses in /etc/network/interfaces:In normal /etc/resolv.conf is a symlink:Code: Select all
dns-nameservers ip1 ip2 ... ipn
Peter.Code: Select all
lrwxrwxrwx 1 root root 29 Jul 24 2016 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
Hi,pylkko wrote:This question was asked last one month ago on this forum. You would get answers to questions more rapidly if you'd search a bit before asking.
That resolv.conf is overwritten is how it is supposed work
https://wiki.debian.org/NetworkConfiguration
Code: Select all
$ sudo chattr +i /etc/resolv.conf