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


Groups > linux.debian.user > #211964

Re: Which resolv.conf file?

From Maxim Svobonas <sp@nextcloud.spb.ru>
Newsgroups linux.debian.user
Subject Re: Which resolv.conf file?
Date 2019-07-31 14:00 +0200
Message-ID <ypVqV-Oo-1@gated-at.bofh.it> (permalink)
References <ypPYe-5Ud-5@gated-at.bofh.it> <ypVhg-KB-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


I use USB tethering and NetworkManager just creates a new wired connection whenever I make changes to existing one and reconnect a phone. Also I may use random WiFi spots from time to time and do not want to set up each of them.

The solution for me is:

[main]
dns=none

in /etc/NetworkManager/NetworkManager.conf

and

nameserver 208.67.222.222
nameserver 208.67.220.220

in /etc/resolv.conf

This way NetworkManager does not overwrite resolv.conf

Best regards,
Max

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