wget解析异常 wget: unable to resolve host address ‘xxx’
wget下载的时候报错如下:
[root@ec-jng-2-01 uploadPath]# wget https://jsdcs.sqrjkj.cn/
–2022-11-02 21:09:08– https://jsdcs.sqrjkj.cn/
Resolving jsdcs.sqrjkj.cn (jsdcs.sqrjkj.cn)… failed: Name or service not known.
wget: unable to resolve host address ‘jsdcs.sqrjkj.cn’
可以查看DNS客户机配置文件,修改成了谷歌的一组解析服务器
[root@centosserver2 etc]# vi resolv.conf search olandms.com #nameserver 172.16.1.1 nameserver 8.8.8.8 #googleDNS nameserver 8.8.4.4 #googleDNS |