stopping my isp from updating my resolv.conf
Felipe Alfaro Solana
felipe.alfaro at gmail.com
Thu Sep 28 01:06:01 UTC 2006
On 9/27/06, bjkeefe <ulist at gs1.ubuntuforums.org> wrote:
>
>
> The last issue: the line "search domain.invalid" still gets written
> into the system-created resolv.conf after reboot. Any suggestions?
sudo chattr +i /etc/resolv.conf
It's a little bit hardcore, but this command will mark the file immutable,
so nobody can't modify it (even root).
To remove the immutable attribute:
sudo chattr -i /etc/resolv.conf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060927/135ae149/attachment.html>
More information about the ubuntu-users
mailing list