/etc/resolv.conf does not save changes!! PLS HELP ASAP!!

R

Rasputin

Guest
Yea my /etc/resolv.conf DOES NOT save changes made manually. I have tried to do sudo chattr -i /etc/resolv.conf but the output is
chattr: Operation not supported while reading flags on /etc/resolv.conf

The thing I want to do is to prevent DNS leaks by adding DNS servers there.
I am running Kali Linux 2.0
Please help me ASAP!
 


D

danielino

Guest
which editor are you using for editing the file?
can you please send the output of command:
# echo "nameserver 8.8.8.8" >> /etc/resolv.conf
# stat /etc/resolv.conf
 
R

rstanley

Guest
resolv.conf gets rewritten every time you reboot.

Please see this posting for a solution.

Please also check the Kali website documentation.
 


Members online


Top