CentOS Ping does not pass the domain name

Source: Internet
Author: User

Phenomenon: 1. Ping the domain name, such as Www.qq.com

2. Can ping the IP, such as 61.135.157.156


Analysis: 1. View DNS configuration file/etc/resolve.conf, the server address is wrong.

2. Modify the DNS configuration file, restart the Network service, restore to the wrong file

3. The root cause is:

3.1) NetworkManager control is enabled on the NIC

3.2) In the configuration file of the NIC, DNS1 is wrong.


Resolution: In the network card configuration file, the DNS1 is written correctly

CentOS Ping does not pass the domain name

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.