How to solve the problem of pinging domain name in CentOS

angryTom
Release: 2020-03-20 15:13:05
Original
3818 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template