Re: resolv.conf changed after reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



chattr +i /etc/resolv.conf will do the trick (provided your using the ext3
filesystem).

PEERDNS=no will keep the dhcp values from being used if you don't want to
make the file immutable.


On 2/9/06, Ed Wilts <ewilts@xxxxxxxxxx> wrote:
>
> On Thu, Feb 09, 2006 at 03:34:17PM +0100, David Tonhofer, m-plify S.A.
> wrote:
> > Amazing...there are programs that do rewrite resolv.conf? O_o!
>
> Of course - it's the right thing to do if you're a dhcp client.
>
> # grep resolv /etc/sysconfig/network-scripts/*
>
> If you look at ifup-post, you'll see right near the top how to turn it
> off.
>
> --
> Ed Wilts, RHCE
> Mounds View, MN, USA
> mailto:ewilts@xxxxxxxxxx
> Member #1, Red Hat Community Ambassador Program
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Michael S. Christian Jr.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux