具体操作:[root@VM-4-15-centos ~]# ping www.bt.cn
PING www.bt.cn (36.133.1.8) 56(84) bytes of data.
64 bytes from 36.133.1.8 (36.133.1.8): icmp_seq=1 ttl=45 time=33.7 ms
64 bytes from 36.133.1.8 (36.133.1.8): icmp_seq=2 ttl=45 time=32.8 ms
64 bytes from 36.133.1.8 (36.133.1.8): icmp_seq=3 ttl=45 time=32.8 ms
64 bytes from 36.133.1.8 (36.133.1.8): icmp_seq=4 ttl=45 time=32.8 ms
64 bytes from 36.133.1.8 (36.133.1.8): icmp_seq=5 ttl=45 time=32.8 ms
64 bytes from 36.133.1.8 (36.133.1.8): icmp_seq=6 ttl=45 time=32.8 ms
^C
--- www.bt.cn ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5008ms
rtt min/avg/max/mdev = 32.829/32.998/33.758/0.355 ms
[root@VM-4-15-centos ~]# curl -v -4 apt.bt.cn
* Could not resolve host: apt.bt.cn; 未知的名称或服务
* Closing connection 0
curl: (6) Could not resolve host: apt.bt.cn; 未知的名称或服务
[root@VM-4-15-centos ~]#
|