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


Groups > linux.debian.user > #211949

Re: Which resolv.conf file?

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Which resolv.conf file?
Date 2019-07-31 08:20 +0200
Message-ID <ypQ7U-5XW-3@gated-at.bofh.it> (permalink)
References <ypPYe-5Ud-5@gated-at.bofh.it> <ypPYe-5Ud-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mi, 31 iul 19, 09:06:36, Reco wrote:
> 	Hi.
> 
> 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 ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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