wget在我的debian服务器上不能正常工作。
如果我想要http://www.google.com,它说它不能解决主机,当我ping google.com时,我会收到一个成功的乒乓,当我得到http://www.debian.org时,它会工作。
除了debian.org,我什么都没有了.挺奇怪的。
发布于 2011-09-27 09:43:56
检查您的DNS cat /etc/resolv.conf和表查找主机名cat /etc/hosts。尝试更改为Google的DNS:
echo "8.8.8.8" > /etc/resolv.conf
echo "8.8.4.4" >> /etc/resolv.confhttps://serverfault.com/questions/315874
复制相似问题