Home >Operation and Maintenance >CentOS >How to solve the problem of pinging domain name in CentOS

How to solve the problem of pinging domain name in CentOS

angryTom
angryTomOriginal
2020-03-20 15:13:053858browse

How to solve the problem of pinging domain name in CentOS

How to solve the problem that CentOS cannot ping the domain name

Problem: CentOS can ping the IP address, but cannot ping the domain name.

Analysis:

1. Check the DNS configuration file /etc/resolv.conf to see if the server address in it is wrong;

2. Modify DNS configuration file and restart the network service.

Solution: Edit the /etc/resolv.conf file and add the correct DNS address

How to solve the problem of pinging domain name in CentOS

Recommended learning: CentOS usage tutorial

The above is the detailed content of How to solve the problem of pinging domain name in CentOS. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn