Tutorials

How to fix dns problem when updating to ubuntu 17.10

Table of contents:

Anonim

Some users have been having DNS operation problems when updating from Ubuntu 17.04 to Ubuntu 17.10, we have prepared this post to explain the solution in a very simple way

Fix Ubuntu 17.10 DNS issues

There are several ways to solve this DNS problem in Ubuntu 17.10, all of them are quite simple, although we will have to edit system configuration files, so we must be careful not to make mistakes with the steps. We propose two ways to solve it, although it is enough that you use one of them.

The first way to solve it will be to add the Google DNS server to its corresponding configuration file, for this we open a terminal and type the following:

sudo nano /etc/systemd/resolved.conf

After that the text editor will open in the terminal and we can make the modifications, we have to add the following lines at the end:

DNS = 8.8.8.8 FallbackDNS = 8.8.4.4

We save, shutdown and reboot the system for the changes to take effect.

How to upgrade to Ubuntu 17.10 Artful Aardvark from a previous version

Another way to solve the problem is to edit the NetworkManager.conf file, for this we also have to use the terminal with the following command.

sudo nano /etc/NetworkManager/NetworkManager.conf

We look for the following line:

dns = dnsmasq

And we change it for the following:

dns = systemd-resolved

Finally we introduce the following command in the terminal:

sudo systemctl restart NetworkManager

After this you should already have your Ubuntu 17.10 working perfectly and without any problem.

Ubuntugeek font

Tutorials

Editor's choice

Back to top button