Thursday, June 11, 2009

Squid Error : Name error: the domain name does not exist

Problem (example):
The requested URL could not be retrieved
While trying to retrieve the URL: http://intranet/

The following error was encountered:
Unable to determine IP address from host name for http://intranet

The dnsserver returned:
Name Error: The domain name does not exist.

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

Solution:
append_domain : This directive helps Squid turn single-component hostnames into fully qualified domain names. For example, http://www/ becomes www.example.com/. This is especially important if you are participating in a cache hierarchy.

Add the following directive into you squid.conf file to solve the above problem

append_domain .domainname.com

No comments:

 
Custom Search