Re: Which resolv.conf file?
- To: debian-user@lists.debian.org
- Subject: Re: Which resolv.conf file?
- From: Celejar <celejar@gmail.com>
- Date: Thu, 1 Aug 2019 09:49:52 -0400
- Message-id: <[🔎] 20190801094952.7124b55d1143a1b9c51b92e9@gmail.com>
- In-reply-to: <20190731135911.gsyxyv37x7wdbg3z@wren.corp>
- References: <nycvar.QRO.7.76.1907310136310.4479@qrovna.ybpnyqbznva> <E1hshky-0000xr-AI@enotuniq.net> <20190731061603.j3nviob5g3y7xvnc@localhost> <E1hshzQ-0000yr-JE@enotuniq.net> <20190731125034.GH1218@eeg.ccf.org> <20190731135911.gsyxyv37x7wdbg3z@wren.corp>
On Wed, 31 Jul 2019 08:59:11 -0500
David Wright <deblis@lionunicorn.co.uk> 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:
...
> > 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
...
> IOW you should be able to write
>
> dns-nameserver 192.168.1.254
> dns-nameserver 8.8.8.8
>
> or
>
> dns-nameservers 192.168.1.254 8.8.8.8
>
> But I have no idea whether
>
> dns-nameservers 8.8.8.8
>
> and
>
> dns-nameservers 192.168.1.254
> dns-nameservers 8.8.8.8
>
> are supported. Messy.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718021
Celejar
Reply to: