Re: Why does resolv.conf keep changing?
On Sat 04 Nov 2017 at 08:03:02 -0400, Roberto C. Sánchez wrote:
> On Sat, Nov 04, 2017 at 08:45:59AM +0100, firstname.lastname@example.org wrote:
> > Most of us fall into two classes:
> > A. All static. Nobody changes resolv.conf. All is well. Admin writes
> > resolv.conf (and /etc/hosts and all). (the "classic")
> > B. Get IP address via DHCP (dhclient, NetworkManager, whatever else).
> > Whatever else writes to resolv.conf. User == admin mostly doesn't
> > even know what resolv.conf means, most of the time.
> > Without resolvconf, you're in trouble if there are several agents
> > caring about resolv.conf, that is, you are in class B and have
> > e.g. NetworkManager and say dhclient (or some systemd outgrowth,
> > cough, cough) trying to write to that file. Or you are in an intersection
> > of A and B (who said they were disjoint? The sysadmin is but an agent
> > more). In the latter case, you're bound to learn enough about sysadmin
> > to really decide whether you *want* resolvconf or not.
> > Me? I am in Aâ?©B. And with no resolvconf. Stefan? Most probably in
> > the same set. And with resolvconf.
> I agree. The intersection situation (which I believe describes my) is
> why I filed #879949. I small hint would have saved me many hours of
> frustration. I suspect that it would do the same for others.
I'm not going to ask what an "intersection situation" is. It sounds very
technical. But I thought anyone who used DHCP. and cared about it, would
realise they had ended up on the network they were connecting to. That
would include using that network's nameservers (unless they arranged it