Squid throws error, The requested URL could not be retrieved

domain-name-systemhttpsquid

Sometimes I am getting the following error

The requested URL could not be retrieved

While trying to retrieve the URL: http://groups.google.com/

The following error was encountered:

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

The dnsserver returned:

Refused: The name server refuses to perform the specified operation.

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.

What could be the reason for the above error ?

Regards

Supratik

Best Answer

Your recursive DNS servers (those defined in /etc/resolv.conf on your proxy server if it is a Linux machine) are refusing the query.

Do you control those DNS servers? If so perhaps your proxy server isn't allowed to do recursive lookups, but if another machine is and does the lookup for groups.google.com, then it will be in the cache of your DNS server and returned the next time your proxy asks for it. When that cache entry expires, your proxy is then refused the query again.

What would be helpful here is running this command on your proxy server for each nameserver listed in /etc/resolv.conf (again assuming your proxy server is running Linux) and editing your question to include the output.

dig @ip.of.dns.server groups.google.com A
Related Topic