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

Re: /etc/resolv.conf changes every booting time



On Sun, Aug 06, 2023 at 07:37:35PM +0800, Jon Smart wrote:
> Unattributed:
> > The file /etc.resolv.conf is just a soft link.

Not always.

> > You need to:
> >
> > 1: Delete /etc/resolv.conf - rm /etc/resolv.conf
> > 2: Create a new /etc/resolv.conf file: touch /etc/resolv.conf
> > 3: Configure you nameservers
> > 4: Make the file immutable: chattr +i /etc/resolv.conf
> >
> 
> These 4 steps do work great!
> Thanks a lot.

These same steps are also on the wiki page that's been discussed many
times in this thread.  You might want to read what the wiki has to
say about it, especially about /etc filling up with temporary files.

They're also the same steps that someone else in this thread has
criticized.  Again.  As you can see, some people simply *despise* this,
despite how simple and effective it is.


Reply to: