Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

squid - browsing hostname issue 1

Status
Not open for further replies.

cdtech9198

IS-IT--Management
Feb 14, 2008
48
US
Hello all. New to the forum and linux. I have setup squid proxy using some website tutorials online. Everything is working fairly well.

One strange issue I seem to have come across is when I enter any hostname on my domain in the browser. For example rather then
I can not figure out for the life of me why this is happening. I can ping hostname "webserver" and "webserver.mydomain.local" just fine for the server hosting squid.

Below is the error message I receive. any insight would be great. Thanks guy.
Code:
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: [URL unfurl="true"]http://webserver/test.php[/URL] 

The following error was encountered: 

Unable to determine IP address from host name for addressbook 
The dnsserver returned: 

Server Failure: The name server was unable to process this query. 
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. 



--------------------------------------------------------------------------------

Generated Thu, 14 Feb 2008 20:02:53 GMT by Squid.mydomainname.local (squid/2.6.STABLE17)
 
I have figured this out. In the squid.conf you can either append a domain name or turn on this dns_defnames

append_domain mydomainname.net
or
dns_defname on
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top