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

We currently have 4 squid proxy servers in no specific hierarchy. Some of which are experiencing intermittent DNS issues where we receive the following error:

"The cache was not able to resolve the hostname presented in the URL."

However, if I point my browser to a different proxy server and reload the page, all is OK.

As a fallback for any future DNS issues I would like to configure squid's cache_peer setting to automatically query another proxy server if the hostname cannot be resolved locally.

I have attempted to configure cache_peer as below:

cache_peer    sibling    8080    0    no-query
cache_peer    sibling    8080    0    no-query
cache_peer    sibling    8080    0    no-query

After a squid -k reconfigure, my cache log shows:

Configuring Sibling
Configuring Sibling
Configuring Sibling

When I browse to my troublesome URL, I get the same error, and this shows in the access.log:

1329952290.176 22100 TCP_MISS/503 1663 GET - DIRECT/ text/html

Can anyone help me out with this? Not sure what I'm doing wrong here!

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.