Wget的作品,Ping没有

在Virtuozzo虚拟化的Debian 4上有一些exception(我知道,我会尽快升级这个版本,但是依赖)。 我们在这个网站上运行一些网站。 而一个观点几天前exmi4不能发送邮件给一些人。 我将使用live.com作为exampledomain!

所以这些人中有些人得到了邮件,有些却没有。
一些邮件卡在队列中,2天后,他们出去了!
我的Nagios从来没有显示互联网连接或磁盘空间的问题

现在我想安装“挖”来看看他如何解决DNS请求。 而这个Debian告诉我他不知道挖…

长话短说,Debian能够下载具有完全IP的网站,甚至可以使用wget live.com,但是无法ping通live.com。

我99%肯定networking是正确的,路由呢!

下面是我的一些例子:

wget live.com 

下载该网站

 ping live.com ping http://www.live.com ping http://live.com 

收益:

ping:未知主机live.com

编辑

我现在使用heise.de不live.com了。
我发现我可以通过使用它的IP地址ping heise.de服务器。

 myserver:~# ping 193.99.144.85 PING 193.99.144.85 (193.99.144.85) 56(84) bytes of data. 64 bytes from 193.99.144.85: icmp_seq=1 ttl=248 time=12.7 ms 64 bytes from 193.99.144.85: icmp_seq=2 ttl=248 time=12.6 ms 64 bytes from 193.99.144.85: icmp_seq=3 ttl=248 time=12.9 ms 64 bytes from 193.99.144.85: icmp_seq=4 ttl=248 time=13.1 ms 64 bytes from 193.99.144.85: icmp_seq=5 ttl=248 time=13.1 ms --- 193.99.144.85 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4001ms rtt min/avg/max/mdev = 12.671/12.924/13.163/0.238 ms 

编辑2

 myserver:/etc/apt# dig heise.de ; <<>> DiG 9.3.4-P1.2 <<>> heise.de ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40551 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 3 ;; QUESTION SECTION: ;heise.de. IN A ;; ANSWER SECTION: heise.de. 2266 IN A 193.99.144.80 ;; AUTHORITY SECTION: heise.de. 1622 IN NS ns.pop-hannover.de. heise.de. 1622 IN NS ns.s.plusline.de. heise.de. 1622 IN NS ns.plusline.de. heise.de. 1622 IN NS ns2.pop-hannover.net. heise.de. 1622 IN NS ns.heise.de. ;; ADDITIONAL SECTION: ns.plusline.de. 265 IN A 212.19.48.14 ns.pop-hannover.de. 5113 IN A 193.98.1.200 ns2.pop-hannover.net. 15150 IN A 62.48.67.66 ;; Query time: 2 msec ;; SERVER: 193.200.112.80#53(193.200.112.80) ;; WHEN: Tue Oct 9 13:03:50 2012 ;; MSG SIZE rcvd: 216 

ping:未知主机live.com

unknown host错误是指名称到IP地址parsing的问题。 AFAICT,只要你在/etc/resolv.conf使用192.200.113.30和192.200.112.80就没有这个问题…

 [mpenning@tsunami tests]$ dig +short @193.200.113.30 live.com 65.55.206.154 [mpenning@tsunami tests]$ dig +short @193.200.112.80 live.com 65.55.206.154 [mpenning@tsunami tests]$ 

也就是说,你所看到的可能与尝试使用ping http://live.com 。 不要在您的ping上使用http://前缀……这只对Web浏览器有意义。

仅供参考,live.com不返回坪,所以你不应该期望任何退货…他们应该全部超时…

 [mpenning@tsunami tests]$ ping -w 1 live.com PING live.com (65.55.206.154) 56(84) bytes of data. --- live.com ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms [mpenning@tsunami tests]$ 

编辑

我得到这个时,我平heise.de …

 [mpenning@tsunami tests]$ ping heise.de PING heise.de (193.99.144.80) 56(84) bytes of data. 64 bytes from redirector.heise.de (193.99.144.80): icmp_req=1 ttl=241 time=144 ms 64 bytes from redirector.heise.de (193.99.144.80): icmp_req=2 ttl=241 time=144 ms 64 bytes from redirector.heise.de (193.99.144.80): icmp_req=3 ttl=241 time=144 ms 64 bytes from redirector.heise.de (193.99.144.80): icmp_req=4 ttl=241 time=143 ms ^C --- heise.de ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 143.734/144.344/144.730/0.598 ms [mpenning@tsunami tests]$