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

Re: Got a machine name problem



On Wed, 24 Feb 2021 12:25:34 -0500
Gene Heskett <gheskett@shentel.net> wrote:

> On Wednesday 24 February 2021 08:44:06 Greg Wooledge wrote:
> 
> > Gene Heskett (gheskett@shentel.net) wrote:

...

> > So, the next question is, "How can I put the line search neener.com
> > into my /etc/resolv.conf file?"  In a sane, sensible universe, it
> > would be easy -- you would just edit the file with a text editor, and
> > that would be the end of it.
> >
> > But we do not live in that universe.
> >
> It hasn't existed since Pottering came on the scene...

Not everything is systemd's fault - this craziness predates systemd, as
explained in https://wiki.debian.org/resolv.conf, mentioned by Greg
below.

> So its not a mystery link to something resolveconf might conjure up, and 
> if it gets changed, NM is famous for that, so it gets restored and a +i 
> applied.
> 
> > The /etc/resolv.conf file is continually, automatically rewritten by a
> > plethora of programs that all think they know what you want.  They're
> > all wrong, of course, but you can't make the developers understand
> > that. Your changes to the /etc/resolv.conf file will be overwritten,
> > probably within an hour.
> >
> > At this point, please read <https://wiki.debian.org/resolv.conf> to
> > see what your options are, for making permanent changes to
> > resolv.conf.  It's really stupidly complicated, and there's no point
> > in my repeating it all here.

Celejar


Reply to: