:: Re: [DNG] resolv.conf
Top Page
Delete this message
Reply to this message
Author: Rowland Penny
Date:  
To: dng
Subject: Re: [DNG] resolv.conf
On Mon, 2022-05-09 at 12:31 +0200, al3xu5 via Dng wrote:
> Mon, 9 May 2022 04:49:35 -0400 - Steve Litt <
> slitt@???>:
>
> > Antony Stone said on Sun, 8 May 2022 16:28:38 +0200
> >
> > > On Sunday 08 May 2022 at 16:24:03, william m. moss wrote:
> > >
> > > > Years ago I became fed up with too many applications and
> > > > installations corrupting my resolv.conf. I type in a
> > > > resolv.conf
> > > > using an editor.    

> > >
> > > Me too.
> >
> > Me three.
> >
> > >
> > > > To prevent the file from being corrupted by other
> > > > applications:    

> > >
> > > chattr +i /etc/resolv.conf
> >
> > I chattr +i /etc/resolv.conf also. Besides that, I run my own DNS
> > (unbound) and strongarm my /etc/resolv.conf to that.
>
> Me four.


That is just a bandaid on something broken. If you have to stop
something being changed, then there must be something trying to change
it. You need to find what that 'something' is and stop that changing
resolv.conf

Rowland