问题:
当使用代理访问网站时出现以下错误:
========================================
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服务。
本文介绍了当使用代理服务器访问网站遇到DNS解析错误时的解决方法。主要原因是代理服务器的DNS配置问题,需要检查并修改/etc/resolv.conf文件中的DNS服务器设置。
1972

被折叠的 条评论
为什么被折叠?



