Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometimes I am getting the following error

The requested URL could not be retrieved

While trying to retrieve the URL:

The following error was encountered:

Unable to determine IP address from host name for

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 ?



share|improve this question

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, 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 A
share|improve this answer

you can add this setting in squid.conf (look for it)


Comments from squid.conf

#  TAG: dns_nameservers
#   Use this if you want to specify a list of DNS name servers
#   (IP addresses) to use instead of those given in your
#   /etc/resolv.conf file.
#   Example: dns_nameservers
# none and are Google public dns and OpenDNS

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.