Dear Mark,
Thanks for your comments.
I've checked access.log, they're all common domain/urls. and at that period,
all domains/requests fails.
now I've added dubug_options 78,2 to check if there's any dns error or not.
because of heavy traffic I can not use 78,9
in my resov.conf, I have 2 dns servers which I'm sure during squid failure
period, they're working fine, I've checked them with the same failing url on
another server and it resolved correctly.
Regards,
Pierre.
From: Mark Elsen <mark.elsen@xxxxxxxxx>
To: Pierre Tor <pierre_tor@xxxxxxxxxxx>
CC: squid-users@xxxxxxxxxxxxxxx
Subject: Re: intermittent DNS problems
Date: Mon, 26 Dec 2005 07:45:19 -0500
> Hi,
>
> I'm using SQUID 2.5 STABLE11 on FreeBSD 5.4. Squid is using internal DNS
> (configured without --disable-internal-dns)
>
> Squid is working fine with 8Mbps traffic, but there're some intermittent
DNS
> problems, which at those times squid do not serve requests, at the same
time
> when I tried to resolve a domain(www.google.com) with nslookup on
freebsd,
> dns timed-out! (My Windows Server 2003 DNS servers are working fine as I
> checked them from other servers and nslookup resolves.)
>
> After a few minutes (2-4), nslookup resolves and squid start serving
> requests again.
>
> What is causing this problem?
> Is it FreeBSD or SQUID?
>
> I didn't increase number of dns processes, because I'm using internal
dns.
>
- Checkout access.log for those requests which are failing, if the
DNS problem is apparent.
- Also ,review cache.log completely, watchout for any errors related to
DNS or other stuff.
- If nslookup fails to, you are likely to have system problems.
The dnsservers are determined in /etc/resolv.conf.
Use more then one dns server.
M.
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement