当我试图将网页加载到终端时,它会给出curl: (6) Could not resolve host
个错误.
我的电脑里有互联网,正在try 从家里连接互联网.正如我所说,这里没有任何代理.
[root@localhost kevin]# curl http://google.com
curl: (6) Could not resolve host: google.com; Name or service not known
clean all
,然后再试一次,但没有成功.
但如果我使用IP而不是域名,它可以正常工作.
[root@localhost kevin]# curl http://173.194.46.0
有什么线索吗?