Re: [squid-users] duplicate DNS queries done by squid

From: Pedro Ribeiro <pribeiro-squid@dont-contact.us>
Date: Thu, 16 May 2002 17:19:31 +0100

Opps I forgot to mention the OS/Version details:

squid-2.4 (Latest Tarball)
using internal resolver

Under Linux 2.4.x and 2.2.x

cache.log always says something like

2002/05/16 10:59:26| Performing DNS Tests...
2002/05/16 10:59:26| Successful DNS name lookup tests...
2002/05/16 10:59:26| DNS Socket created on FD 5
2002/05/16 10:59:26| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2002/05/16 10:59:26| Adding nameserver 193.137.220.12 from /etc/resolv.conf
2002/05/16 10:59:26| Adding nameserver 193.137.220.1 from /etc/resolv.conf

normal I think ...

cachemgr says:

Internal DNS Statistics:

The Queue:
                       DELAY SINCE
  ID SIZE SENDS FIRST SEND LAST SEND
------ ---- ----- ---------- ---------
0x3a2c 37 1 0.685 0.685
0x3a2b 37 1 0.685 0.685
0x3987 40 4 20.399 20.399
0x3986 40 4 20.399 20.399
0x3985 40 8 20.399 20.399
0x3984 40 8 20.399 20.399
0x3983 40 8 20.399 20.399
0x3982 40 8 20.399 20.399

Nameservers:
IP ADDRESS # QUERIES # REPLIES
--------------- --------- ---------
127.0.0.1 145644 145200
193.137.220.12 1439 1158
193.137.220.1 1089 1080

Rcode Matrix:
RCODE ATTEMPT1 ATTEMPT2 ATTEMPT3
    0 139068 69 0
    1 0 0 0
    2 329 258 254
    3 5976 0 0
    4 0 0 0
    5 0 0 0

TIA

[]-------------------------------------------------------------[]
  Pedro Ribeiro
  Online: http://www.isel.ipl.pt/~pribeiro/
  IRC(PTnet) Nick: PAntMaR
  e-Mail: Spamm: trap@net.ipl.pt
               Personal: pribeiro@net.ipl.pt
               IPLNet/ISELNet Admin: helpdesk@net.ipl.pt
[]-------------------------------------------------------------[]
----- Original Message -----
From: "Marc Elsen" <marc.elsen@imec.be>
To: "Pedro Ribeiro" <pribeiro-squid@net.ipl.pt>
Cc: <squid-users@squid-cache.org>
Sent: Thursday, May 16, 2002 1:21 PM
Subject: Re: [squid-users] duplicate DNS queries done by squid

>
>
> Pedro Ribeiro wrote:
> >
> > Has anyone taken a deep look into the queries logfiles of the nameserver
> > used by squid ?
> > I'm seeing lots of 'bursts' of duplicate queries that I think doesn't
make
> > sense ... just dns server overloading .. I/O and network traffic ...
> > Is this the expected behaviour ?
> >
> > TIA
> >
> > <log sample>
> > ...
> > May 16 12:27:41.224 queries: info: client 193.137.220.3#56004: query:
> > a324.g.akamai.net IN A
> > May 16 12:27:41.224 queries: info: client 193.137.220.3#56004: query:
> >
> ...
>
> Shouldn't happen , I think.
> What SQUID version are you using ?
> On which platform ?
> Are you using internal or external DNS setup ?
> What does cache.log say about the DNS tests during SQUID startup ?
> What does cachemgr -> 'Internal DNS statistics' have to
> say during runtime.
> Look at rate increase of dns reqs/sec. Well, you'd have
> to calc. the rate kind of manually by looking at the stats for
> a second interval rate, during a certain period.
>
> The values dns lookups/secs is not present as such.
>
> M.
>
Received on Thu May 16 2002 - 10:19:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:08 MST