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

Re: resolv.conf changed after reboot



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 ewilts org> 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 ewilts org
> Member #1, Red Hat Community Ambassador Program
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Michael S. Christian Jr.


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