您的位置:首页 > 运维架构 > 反向代理

使用squid代理时出现 The requested URL could not be retrieved

2019-04-26 10:20 2671 查看
               

问题:
当使用代理访问网站时出现以下错误:
========================================
The requested URL could not be retrieved

While trying to retrieve the URL: http://linkhelp.clients.google.com/tbproxy/lh/fixurl?

The following error was encountered:

    Unable to determine IP address from host name for linkhelp.clients.google.com

The dnsserver returned:

    Timeout

This means that:

 The cache was not able to resolve the hostname presented in the URL.
 Check if the address is correct.

Your cache administrator is root.
========================================


解决方法:
这是由于代理服务器机器的DNS配置问题,代理服务器机器不能找到指定url的ip地址导致。检查/etc/resolv.conf文件配置是否正确,如不正确添加正确的配置信息,比如说:
nameserver ###.###.###.###
nameserver ###.###.###.###
可以配置多个DNS server。
重新启动squid服务。

           
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐