I am searching for a solution to the problem of Ubuntu resetting my DNS server settings after reboot.. I have tried sudo chattr +i /etc/resolv.conf
to stop resolv.conf from resetting, however it returns chattr: Operation not supported while reading flags on /etc/resolv.conf
..
I am super new to Linux since I have just installed it, so I need help over here.. Tried many things and broke the resolv.conf so I couldn't set DNS even for the short period before rebooting (it didn't even set DNS)..Anyone got this problem ? Solutions ? Thanks !! (Using Ubuntu MATE 17.04 - Fresh Install)
Saw many questions on here but always ran into some problems :S
DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
. Here is how to do this: https://askubuntu.com/questions/157154/how-do-i-include-lines-in-resolv-conf-that-wont-get-lost-on-reboot – Rinzwind Apr 18 '17 at 11:44