On Mon, 25 Sep 2017 08:56:54 -0400 Greg Wooledge <wool...@eeg.ccf.org> wrote:
> On Sat, Sep 23, 2017 at 06:03:12PM -0700, Gary Roach wrote: ... > > I have > > installed resolvconf > > *shudder* > > I mean, unless this is a laptop or a tablet or a phone or something. > Then it may be appropriate, because you might actually WANT your > resolv.conf file to be rewritten every time the wind changes direction. > > For desktop machines with a static internal network configuration, it's > an abomination. And unfortunately it's not the only malevolent fiend > trying to usurp control of your resolv.conf file. There's also dhclient, > and network-manager, and systemd-resolved, and who knows what else. Just to clarify, on my laptop, I do want resolvconf installed, since when I'm on my home LAN, I want to use the DNS server running on the local router / gateway, and when I'm anywhere else, I want to use the ISP's nameservers. With resolvconf, I add a "dns-nameservers nnn.nnn.nnn.nnn" line to the LAN section of /etc/network/interfaces to accomplish this via resolvconf. Celejar