Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #212125

Re: Which resolv.conf file?

From Celejar <celejar@gmail.com>
Newsgroups linux.debian.user
Subject Re: Which resolv.conf file?
Date 2019-08-02 05:20 +0200
Message-ID <yqwgO-7xs-5@gated-at.bofh.it> (permalink)
References (1 earlier) <ypPYe-5Ud-3@gated-at.bofh.it> <ypQ7U-5XW-3@gated-at.bofh.it> <ypQhA-61x-3@gated-at.bofh.it> <ypWmZ-1oI-3@gated-at.bofh.it> <ypXj3-1YP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Which resolv.conf file? Reco <recoverym4n@enotuniq.net> - 2019-07-31 08:10 +0200
  Re: Which resolv.conf file? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-31 08:20 +0200
    Re: Which resolv.conf file? Reco <recoverym4n@enotuniq.net> - 2019-07-31 08:30 +0200
      Re: Which resolv.conf file? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-07-31 15:00 +0200
        Re: Which resolv.conf file? David Wright <deblis@lionunicorn.co.uk> - 2019-07-31 16:00 +0200
          Re: Which resolv.conf file? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-07-31 16:30 +0200
            Re: Which resolv.conf file? Reco <recoverym4n@enotuniq.net> - 2019-07-31 16:40 +0200
            Re: Which resolv.conf file? <tomas@tuxteam.de> - 2019-07-31 18:00 +0200
              Re: Which resolv.conf file? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-07-31 18:10 +0200
                Re: Which resolv.conf file? <tomas@tuxteam.de> - 2019-07-31 18:40 +0200
          Re: Which resolv.conf file? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-31 22:30 +0200
          Re: Which resolv.conf file? Celejar <celejar@gmail.com> - 2019-08-02 05:20 +0200

csiph-web