I. Ping Introduction Ping is a command in windows, which is also available in UNIX and Linux. Ping also belongs to a communication protocol and is part of the TCP/IP protocol. The ping command can be used to check whether the network is connected,
Linux can ping IP but cannot ping host domain name resolution reprinted December 25, 2013 10:24:27 13749.vi/etc/nsswitch.confhosts:files Dnsnetworks:files changed to: hos Ts:files DNS Winsnetworks:files if not the same, in the hosts: the original
--------------------------------------------------------------------------------------------------------------------------------------------------------------Vi/etc/nsswitch.confHosts:files DNSNetworks:filesChange to:Hosts:files DNS
Article No.: 1005-6033 (2006) 18-0230-02
Abstract: A convenient and practical ping command for Network Fault Diagnosis tool is introduced. The working principle, usage method and practical application in Network Fault Elimination are discussed.
Key
1, the basic knowledge of ping
The ping command believes that we are all familiar with but it is not a lot of people who can play the role of Ping, of course, I am not saying that I can let ping play the most functions, I just often use ping this
The ping command in Linux is a commonly used network Command. it is usually used to test the connectivity with the target host. we often say, "ping a machine, check if it is on. "If you cannot open the webpage, you will say," You should ping the
Document directory
1. Ping 127.0.0.1
2. Ping 192.168.1.10 [if this is the IP address of the Local Machine, use ipconfig to view the result]
3. Ping 192.168.1.38 [assume this is the IP address of a host in the same network segment in the LAN]
4.
The 1.ping command returns a public network IP address, but this IP address is inconsistent with the current public network IP of the machine where the peanut shell client is located
For example Ping ping-is-no-good.gicp.net, the IP returned is 59.3
PHP handles ping commands to get the IP of the batch domain name
PHP to handle also OK, other I will not, then use it, call the system command is to use exec, first look at the introduction:
ReferenceEXEC--Execute an external
The ping command of a Linux system is a common network command, which is often used to test connectivity with the target host, and we often say "ping a machine, see if it is open," or "you ping the gateway address 192.168.1.1" Before you open the
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.