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

Re: Why does resolv.conf keep changing?



On Tuesday 24 October 2017 21:06:58 Michael Stone wrote:

> On Mon, Oct 23, 2017 at 08:31:05PM -0400, Gene Heskett wrote:
> >and made immutable. Particularly is the fact that /etc/resolv.conf
> > isn't a link to something else but contains:
> >
> >nameserver 192.168.XX.1
> >search 	host	dns
> >domain coyote.den
>
> Please stop posting that, it uses incorrect syntax (as has been
> explained to you before) and it would be a shame if other people
> copied it as a correct example.
>
> Mike Stone

Mike, I think you said that before, but didn't correct it ATT, but I 
wrote it while referencing the man page for resolv.conf.  And I 
rechecked it against the man page a few weeks ago after the last 
callout.

It might not be correct, man pages have been wrong before, and will be 
again.

But since its worked flawlessly for years, please explain what IS wrong 
with it. Just saying its wrong doesn't cut it in the face of the fact 
that I did it in self-defense against NM back when NM first came out, 
what, a decade ago and was not then removeable with anything but a root 
session of rm. The package managers insisted on gutting the system if 
you wanted it gone back then.

Now, since my home net is host file based, about 8 machines and a printer 
these days, I make resolv.conf into a real file, and 
once /etc/network/interfaces is similarly setup to work, both are then 
made immutable, at which point resolvconfig and N-M can be like a steer, 
try, but cannot tear down a working circuit, that it can never bring 
back to life despite continueing efforts. Both N-M and resolvconfig are 
solutions looking for a problem I don't have anymore.

Fortunately, both of these so-called solutions have the good sense to NOT 
spam the logs when they find they've been emasculated.

Your turn Mike, but lets see the facts as to why its wrong, not just an 
argument for the sake of arguing.  The list doesn't need that, it needs 
tutorials.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: