Re: [squid-users] Squid Proxy will not resolv or proxy local intranet server

From: Jon Banks <jjbanks@dont-contact.us>
Date: Fri, 20 Jan 2006 08:46:30 -0500

What happens when you type the IP address in your browser instead of the URL of your Intranet? Does your Intranet open? From the Squid box, what happens when you ping the URL of your Intranet? Does the Squid box resove the URL to an IP address?
 
I have a similar problem with my Squid box. All Internet access works fine, but Squid won't resolve my Intranet URLs to IP addresses. The default hosts file location tag is set correctly in squid.conf to /etc/hosts and the hosts file has been configured correctly, yet Squid won't use its hosts file to resolve local addresses. I had to setup and run DNS on my Squid box just for this address. Not the solution I wanted, but it works. Does anyone know how to make Squid resolve local hostnames from its /etc/hosts file?
 
Jon

>>> Jim <elemint@gmail.com> 1/19/2006 4:47 PM >>>

We have a squid box that will not proxy or resolv local webpages on our
Intranet but it will proxy external pages, we have DNS set for the
internal proxy server.

What I get when I try to access a local webpage, local to our network,
the proxy server the below message.

The following error was encountered:

    Unable to determine IP address from host name for local.intranet.org
<http://local.intranet.org/>

The dnsserver returned:

    Name Error: The domain name does not exist.

But on that server I can ping the intranet server by name and nslookup
on that machine resoves the IP address.

Jim
Received on Fri Jan 20 2006 - 06:47:30 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST