About solving the problem that ubuntu cannot resolve the domain name

It felt weird at first, but it was so good yesterday that all the networks were inaccessible today.

Analysis 1: When you click on the new URL, it shows that it cannot be linked very quickly. This proves that it should not be the problem of other people's websites, otherwise there will be no such fast response speed. At the same time, you can log in to another system of this machine, and you can go online normally, which proves to be a problem with the ubuntu system.

Analysis 2: Network access, the problem in the query is nothing more than the driver, password, domain name, routing and other issues. The domain name is easy to troubleshoot. Directly enter a certain ip address and find that you can directly access the Internet. It proves that [domain name resolution] (https://cloud.tencent.com/product/cns?from=10680) failed. At the same time, if you enter sudo apt-get update in the terminal and the domain name resolution fails, then the problem is Positioning.

Analysis 3: The domain name is related to the dns server, then find the /etc/resolv.conf configuration file, and add the server address of the area where the machine is located, because I am in the school network, add the nameserver of the laboratory *** ...6

Problem solving, it takes 1 hour,,,,⊙﹏⊙bhan

***Original article, please indicate: ** Reprinted from *URl-team

The link address of this article:About solving the problem that ubuntu cannot resolve the domain name

Recommended Posts

About solving the problem that ubuntu cannot resolve the domain name
Solve the problem that the Ubuntu 17.10 settings panel cannot be opened
The ubuntu 16.04 system perfectly solves the problem that pip cannot be upgraded
Solution to the problem that ubuntu cannot connect to the Internet in the virtual machine
Solve the problem that Centos8 cannot install docker
The process of solving the problem of installing ImageMagick under Ubuntu system