Hi. On Wed, Jul 31, 2019 at 09:16:03AM +0300, Andrei POPESCU wrote: > On Mi, 31 iul 19, 09:06:36, Reco wrote: > > On Wed, Jul 31, 2019 at 01:46:45AM -0400, Bob Bernstein wrote: > > > I want to make a change or two to resolv.conf, but every time I come > > > across it I flee in terror, warned that my changes will be destroyed > > > and the linux gods angered. > > > > Have you meant this resolv.conf line? > > > > # Dynamic resolv.conf(5) file for glibc resolver(3) generated by # > > resolvconf(8) > > # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN > > > > > > > What is the approved method for changing the list of DNS servers > > > called upon by, in my case, Stretch on amd-64? > > > > Assuming it is, and you're using ifupdown, you need to change > > "dns-nameserver" stanza in the interface definition. > > Careful, in /etc/network/interfaces it's 'dns-nameservers' (mind the > trailing 's'), because you can list more servers ;)
/usr/share/doc/resolvconf/README.gz disagrees with you: * For each inet static logical interface through which a nameserver is accessible, add lines like the following to /etc/network/interfaces . dns-nameserver 11.22.33.44 dns-nameserver 55.66.77.88 dns-search foo.org bar.com Reco