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


Groups > linux.debian.user > #211966

Re: Which resolv.conf file?

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: Which resolv.conf file?
Date 2019-07-31 14:00 +0200
Message-ID <ypVqV-Oo-5@gated-at.bofh.it> (permalink)
References <ypPYe-5Ud-5@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2019-07-31, Bob Bernstein <bob@fanatick.org> 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.
>
> What is the approved method for changing the list of DNS servers 
> called upon by, in my case, Stretch on amd-64?

I'm unaware of who might or might not approve it, but I override the nameservers
provided through DHCP by editing the '/etc/dhcp/dhclient.conf' like this:

 supersede domain-name-servers 193.183.98.154, 104.244.72.13;

(it's possible to list several, comma-separated servers).

I'm lame enough to use Network Manager, though, so in the contrary case,
(if such is your case) maybe this ain't the way to go or proves
inoperative.

Works here, however (yep, just checked to make sure!).

> (Is there someone I could slide a few simoleons to in order to 
> facilitate this business?)
>
> Thank you
>


-- 
“We are all in the gutter, but some of us are looking at the stars.” 
― Oscar Wilde, Lady Windermere's Fan

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


Thread

Which resolv.conf file? Bob Bernstein <bob@fanatick.org> - 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? Bob Bernstein <bob@fanatick.org> - 2019-07-31 09:00 +0200
      Re: Which resolv.conf file? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-31 22:40 +0200
  Re: Which resolv.conf file? Judah Richardson <judahrichardson@gmail.com> - 2019-07-31 13:50 +0200
  Re: Which resolv.conf file? Nate Bargmann <n0nb@n0nb.us> - 2019-07-31 13:50 +0200
    Re: Which resolv.conf file? Maxim Svobonas <sp@nextcloud.spb.ru> - 2019-07-31 14:00 +0200
  Re: Which resolv.conf file? Curt <curty@free.fr> - 2019-07-31 14:00 +0200
  Re: Which resolv.conf file? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-07-31 14:50 +0200

csiph-web