wget报unable to resolve host address

it2025-01-31  39

Linux系统运行yum安装rpm包的时候提示wget unable to resolve host addresswget:无法解析主机地址。这就能看出是DNS解析的问题。

错误提示

wget: unable to resolve host address

解决办法:

1.登入root(VPS)。2.进入/etc/resolv.conf。3.修改内容为下nameserver 8.8.8.8 #google域名服务器nameserver 8.8.4.4 #google域名服务器

转载于:https://www.cnblogs.com/littlek1d/p/9492393.html

最新回复(0)