You are not logged in.

#1 2018-05-25 22:58:30

Jubijub
Member
From: Lausanne, Switzerland
Registered: 2018-04-04
Posts: 23
Website

Most elegant approach to set custom DNS while using NetworkManager

I understand there are many approaches, but I don't understand the consequences : what are the benefits of letting NetworkManager rewrite resolv.conf, and thus what are the drawbacks to prevent it ?

if it's OK, I would just put dns=none, but I want to understand if there are any drawbacks to do this

Offline

#2 2018-05-26 03:58:08

Haller
Member
Registered: 2018-04-08
Posts: 45

Re: Most elegant approach to set custom DNS while using NetworkManager

As you said, NetworkManager is overwriting resolv.conf. So you can use the GUI or nmcli to set a specific DNS server or to fetch it from your ISP.

There is no drawback in editing resolv.conf except that you cannot use GUI anymore...

Btw. I'm using dnscrypt-proxy and I had to change /etc/NetworkManager/NetworkManager.conf into

[main]
dns=none
rc-manager=unmanaged

Offline

Board footer

Powered by FluxBB