1

I tried two options to change the dns of my Ubuntu OS:

(1) sudo nano /etc/resolv.conf. I entered nameserver 208.67.222.222 nameserver 208.67.220.220 and nameserver 8.8.8.8. When I enter sudo service network-manager restart, the default configuration is set again...

(2) I used sudo nano /etc/dhcp/dhclient.conf and added prepend domain-name-servers 208.67.222.222, 208.67.220.220, 8.8.8.8;. That, too, didn't help me cofigure my new DNS Server.

What else can I do?

My last question: The default is 127.0.0.53. Does this mean, that my Router is the DNS Server at the moment?

1 Answers1

0

I found, that the NetworkManager (NM) automatically inserts the nameserver into /etc/resolv.conf. If you configure /etc/NetworkManager/NetworkManager.conf so that it includes dns=none, NM stops to automatically insert the nameserver. After that, you can manually choose a dns service.