代码: 全选
zz@ubuntu:~$ ping www.google.cn
ping: unknown host www.google.cn
这说明一个问题,你的dns有问题yjzzo0 写了:ping结果如下:
zz@ubuntu:~$ ping www.google.com
PING www.google.com (64.233.189.104) 56(84) bytes of data.
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=1 ttl=240 time=75.7 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=4 ttl=240 time=78.8 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=5 ttl=240 time=75.7 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=6 ttl=240 time=76.5 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=7 ttl=240 time=76.9 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=8 ttl=240 time=77.2 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=9 ttl=240 time=79.0 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=11 ttl=240 time=75.5 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=12 ttl=240 time=75.9 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=13 ttl=240 time=78.9 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=14 ttl=240 time=77.8 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=15 ttl=240 time=78.8 ms
--- www.google.com ping statistics ---
16 packets transmitted, 12 received, 25% packet loss, time 14998ms
rtt min/avg/max/mdev = 75.570/77.267/79.092/1.353 ms
zz@ubuntu:~$ ping www.google.cn
ping: unknown host www.google.cn
zz@ubuntu:~$ ping 59.151.21.101
PING 59.151.21.101 (59.151.21.101) 56(84) bytes of data.
64 bytes from 59.151.21.101: icmp_seq=1 ttl=230 time=27.0 ms
64 bytes from 59.151.21.101: icmp_seq=2 ttl=230 time=27.7 ms
64 bytes from 59.151.21.101: icmp_seq=3 ttl=230 time=33.8 ms
64 bytes from 59.151.21.101: icmp_seq=4 ttl=230 time=29.9 ms
64 bytes from 59.151.21.101: icmp_seq=5 ttl=230 time=23.3 ms
--- 59.151.21.101 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 23.308/28.369/33.821/3.466 ms
yjzzo0 写了:ping结果如下:
zz@ubuntu:~$ ping www.google.com
PING www.google.com (64.233.189.104) 56(84) bytes of data.
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=1 ttl=240 time=75.7 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=4 ttl=240 time=78.8 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=5 ttl=240 time=75.7 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=6 ttl=240 time=76.5 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=7 ttl=240 time=76.9 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=8 ttl=240 time=77.2 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=9 ttl=240 time=79.0 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=11 ttl=240 time=75.5 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=12 ttl=240 time=75.9 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=13 ttl=240 time=78.9 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=14 ttl=240 time=77.8 ms
64 bytes from hk-in-f104.google.com (64.233.189.104): icmp_seq=15 ttl=240 time=78.8 ms
--- www.google.com ping statistics ---
16 packets transmitted, 12 received, 25% packet loss, time 14998ms
rtt min/avg/max/mdev = 75.570/77.267/79.092/1.353 ms
zz@ubuntu:~$ ping www.google.cn
ping: unknown host www.google.cn
zz@ubuntu:~$ ping 59.151.21.101
PING 59.151.21.101 (59.151.21.101) 56(84) bytes of data.
64 bytes from 59.151.21.101: icmp_seq=1 ttl=230 time=27.0 ms
64 bytes from 59.151.21.101: icmp_seq=2 ttl=230 time=27.7 ms
64 bytes from 59.151.21.101: icmp_seq=3 ttl=230 time=33.8 ms
64 bytes from 59.151.21.101: icmp_seq=4 ttl=230 time=29.9 ms
64 bytes from 59.151.21.101: icmp_seq=5 ttl=230 time=23.3 ms
--- 59.151.21.101 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 23.308/28.369/33.821/3.466 ms