RE: [squid-users] Squid won't work with internal addresses even thou they resolve?

From: Matthew Western, IT Support, Lonsdale <[email protected]>
Date: Mon, 22 Nov 2004 10:12:14 +1030

Chris, You legend.

The person that set up this server had manually specified a DNS server
and in squid.conf. He didn't realise that if you don't specify a DNS
server it uses linux's one in /etc/resolve.conf and I didn't realise
that you could specify a dns server in the conf file. ;)

We inherited this box as we have merged two help desks into one.

I owe you an Ice Coffee(local beverage of South Australia that outsells
coke)

Thanks a lot.

Regards
Matthew

-----Original Message-----
From: Chris Robertson [mailto:crobertson@gci.com]
Sent: Saturday, 20 November 2004 5:17 AM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] Squid won't work with internal addresses even
thou they resolve?

Running "squidclient cache_object://localhost/idns" on your squid box
will give you a list of the DNS servers that squid is using. Make sure
this list is what you are expecting.

Chris

-----Original Message-----
From: Matthew Western, IT Support, Lonsdale
[mailto:mwestern@sola.com.au]
Sent: Thursday, November 18, 2004 4:49 PM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] Squid won't work with internal addresses even
thou they resolve?

No parent or upstream proxy.
----------log----------
1100828658.048 97 10.160.0.200 TCP_MISS/503 1492 GET http://solanet/
AUSTRALIA\MWESTERN NONE/- text/html
1100828663.689 421 10.160.0.200 TCP_MISS/503 1528 GET
http://solanet.ap.sola.com/ AUSTRALIA\MWESTERN NONE/- text/html

---------page---------
The requested URL could not be retrieved

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

While trying to retrieve the URL: http://solanet.ap.sola.com/

The following error was encountered:

Unable to determine IP address from host name for solanet.ap.sola.com
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.
Your cache administrator is squid@sola.com.au.

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

Generated Fri, 19 Nov 2004 01:44:23 GMT by SOAProxy.soa.sola.com.au
(squid/2.5.STABLE4)

---------------------------ping------------------------
PING solanet.ap.sola.com (10.160.0.90) 56(84) bytes of data.
64 bytes from solanet.ap.sola.com (10.160.0.90): icmp_seq=1 ttl=63
time=0.324 ms
64 bytes from solanet.ap.sola.com (10.160.0.90): icmp_seq=2 ttl=63
time=0.268 ms

-----Original Message-----
From: Chris Robertson [mailto:crobertson@gci.com]
Sent: Friday, 19 November 2004 10:10 AM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] Squid won't work with internal addresses even
thou they resolve?

Are you using a parent proxy outside the 10. network?

What do the access logs look like for requests that fail?

What does the web page look like (which server is giving the error)?

When running the ping, what IP address does the intranet server reply
as?

Chris

-----Original Message-----
From: Matthew Western, IT Support, Lonsdale
[mailto:mwestern@sola.com.au]
Sent: Thursday, November 18, 2004 2:31 PM
To: squid-users@squid-cache.org
Subject: [squid-users] Squid won't work with internal addresses even
thou they resolve?

Hi All,

I have a nicely working squid (latest stable4 I think from memory) your
normal proxyserver with two cards.

Outside card .> default gw to internet
Inside card 10.1.1.1 with routes to our router.

I have it doing DNS off our AD dns server so I can resolve internal
addresses as well as external ones and it resolves our intranet server
fine with a ping. No hosts, just dns.

However when I surf to it, it comes up and says host unknown. When I
surf to a normal outside address I have no problems.

I work around the issue with exceptions in my IE and other clients but I
would like it tow rok through the proxy so I don't have a phone call
every few days when someone's been playing witht their exceptions.
(well not every day, but it would eliminate yet another batch of calls
for the same thing)

And ideas people?

Ta
matthew
Received on Sun Nov 21 2004 - 16:40:04 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST