[squid-users] Problem with Squid and DNS

From: J. Scott Miller <j.scott.miller@dont-contact.us>
Date: Thu, 13 Oct 2005 23:19:12 -0500

Hello Everyone,

I am having an issue with a Squid 2.5 STABLE install running with BIND
on FreeBSD 5. The cache is running transparent. Unfortunately,
whenever I try to request any page from a machine behind the cache, I
got the following error page:

Blah blah....

<BLOCKQUOTE>
Unable to determine IP address from host name for
<I>www.google.com</I>
</BLOCKQUOTE>

<P>
The dnsserver returned:
<BLOCKQUOTE>
Name Error: The domain name does not exist.
</BLOCKQUOTE>

<P>
This means that:
<PRE>
 The cache was not able to resolve the hostname presented in the URL.
 Check if the address is correct.
</PRE>
<P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>.

Blah blah....

which is not so good. When I attempt an nslookup on the squid
machine, everything works fine:

[me@LAMBDA ~]$ nslookup www.google.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Non-authoritative answer:
www.google.com canonical name = www.l.google.com.
Name: www.l.google.com
Address: 72.14.203.99
Name: www.l.google.com
Address: 72.14.203.104

In squid.conf, the dns_nameservers variable has the same value as the
server names in resolv.conf. I have also tried removing the
dns_nameservers variable all together, so that the resolv.conf values
would be used, but this did not help....

Does anyone have any suggestions? I am getting desparate. :)

Thanks,
Scott
Received on Thu Oct 13 2005 - 22:25:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST