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

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



Hello,

On Sun, Aug 06, 2023 at 07:37:35PM +0800, Jon Smart wrote:
> > Timothy M Butterworth wrote:
> > The file /etc.resolv.conf is just a soft link.
> >
> > 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.

And so another one fails to spend the time to work out how their
operating system works for trivial minutiae like "how my network
gets set up", leaving a nice rake in the grass for some point in the
future when they are trying to debug something else. 🙁

And we wonder why this list ends up dealing with the aftermath of
the Gene school of "don't understand it? Hit it with chattr +i / rm
/ apt-get purge!" so often.

Regards,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: