Re: [SQU] No DNS records

From: Jan Henkins <jan@dont-contact.us>
Date: Wed, 1 Nov 2000 10:19:48 +0200

On Wednesday 01 November 2000 10:04, McLarty, Peter wrote:
> I routinely and randomly get the following message from our Squid Cache. It
> affects randomly any site and there is never any issue with the DNS on the
> system. You can always tell it is going to happen because of the delay in
> retrieving the page.
>
> Could someone recommend a course of action to isolate the cause. I have
> done nslookups while this is happening on the chosen site on the server in
> question and that is returning the ip for the site.
>
> It just seems that the squid dns is not getting the info

Hi Peter,

Although I cannot help you to actually pin-point the problem, I had a similar
experience a while back with the same version of Squid as you appear to be
using. It could be a problem specific to Squid/2.3.STABLE4, or it could also
be attributed to external factors like the performance of the actual DNS
machine you use as a resolver.

My setup is as follows:

Squid and my internal DNS is running on the same machine due to economical
reasons. I would have preferred to have seperate machines for the
two tasks, but that is not possible. The random resolving problem occured
with Squid/2.3.STABLE4 as the standard RPM that comes with RedHat 6.2, and
the BIND version was also the standard RPM. I used the standard
"cache_dns_program" setting in my squid.conf file.

This is all, at least in my mind, performance related issues, so I decided to
compile Squid from scratch, and also update my version of BIND to the latest
release (Release 9). I compiled Squid to use it's own built-in resolving
capabilities (check ./configure --help for the right setting, and read the
INSTALL and README files to make sure of this). After redeploying both Squid
and BIND in this way, these random problems went away. I'm not sure wether
the new BIND or the better performance of the recompiled Squid resulted in
the problem being solved, since I installed both systems at the same time.
Your mileage might differ in this regard. However, there is a huge case to be
made for recompiling Squid for your system, since it really does perform much
better that way as opposed to the standard RPM's or packages for your
particular platform (assuming you're using Linux, of course!). Again, if
you're using Solaris or one of the *BSD derivatives, your mileage will differ
from my scenario.

-- 
Regards,
Jan Henkins
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Nov 01 2000 - 01:18:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:12 MST