On Mi, 31 iul 19, 08:59:11, David Wright wrote: > On Wed 31 Jul 2019 at 08:50:34 (-0400), Greg Wooledge wrote: > > On Wed, Jul 31, 2019 at 09:21:32AM +0300, Reco wrote: > > > On Wed, Jul 31, 2019 at 09:16:03AM +0300, Andrei POPESCU wrote: > > > > On Mi, 31 iul 19, 09:06:36, Reco wrote: > > > > > 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 is correct. > > > > isc-dhcp-client uses "domain-name-servers" in its configuration file, > > whereas resolvconf uses "dns-nameserver". Most likely, Andrei momentarily > > confused the two. > > It might be the documentation that's confused. Here's an extract from > man resolvconf
[...] > The dns-nameservers option is also accepted and, unlike > dns-nameserver, can be given mul‐ > tiple arguments, separated by spaces. Ok, the 'dns-nameserver' option must have been added in the meantime, as 'dns-nameservers' was quite confusing (I got bit by it several times). Let's see... according to the changelog it was added in Jessie ;) Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
signature.asc
Description: PGP signature