Re: [squid-users] Unwanted DNS queries

From: T Ls <tls_at_pries.pro>
Date: Thu, 26 Sep 2013 10:09:11 +0200

Am 25.9.2013 16:00, schrieb Amos Jeffries:
> On 25/09/2013 8:25 p.m., T Ls wrote:
>> Hi,
>>
>> Am 24.9.2013 16:25, schrieb Amos Jeffries:
>>> ...Perhase a "debug_options ALL,1 11,6 78,6" trace would be more
>>> informative.
>>... Can you add debug options 17,5 38,6 to these and confirm that in
>> a
> new trace please?

...
2013/09/26 09:44:32.500| leaving HttpStateData::readReply(FD 69,
data=0x7fa5b43376f8, size=131, buf=0x7fa5b4324b20)
2013/09/26 09:44:32.572| FwdState::start() 'http://www.uni-erfurt.de/'
2013/09/26 09:44:32.572| fwdStartComplete: http://www.uni-erfurt.de/
2013/09/26 09:44:32.572| fwdConnectStart: http://www.uni-erfurt.de/
2013/09/26 09:44:32.572| fwdConnectStart: got outgoing addr [::], tos 0
2013/09/26 09:44:32.572| fwdConnectStart: got TCP FD 70
2013/09/26 09:44:32.602| fwdConnectDone: FD 70:
'http://www.uni-erfurt.de/'
2013/09/26 09:44:32.602| fwdDispatch: FD 49: Fetching 'GET
http://www.uni-erfurt.de/'
2013/09/26 09:44:32.602| idnsALookup: buf is 35 bytes for
www.uni-erfurt.de, id = 0xaef6
2013/09/26 09:44:32.602| httpStart: "GET http://www.uni-erfurt.de/"
2013/09/26 09:44:32.602| http.cc(83) HttpStateData: HttpStateData
0x7fa5b43376f8 created
2013/09/26 09:44:32.602| httpSendRequest: FD 70, request
0x7fa5b432d300, this 0x7fa5b43376f8.
2013/09/26 09:44:32.602| The AsyncCall HttpStateData::httpTimeout
constructed, this=0x7fa5c6dbcc40 [call11308736]
2013/09/26 09:44:32.602| The AsyncCall HttpStateData::readReply
constructed, this=0x7fa5c68fee20 [call11308737]
2013/09/26 09:44:32.602| The AsyncCall HttpStateData::sendComplete
constructed, this=0x7fa5c7ea40a0 [call11308738]
2013/09/26 09:44:32.602| httpBuildRequestHeader: Host:
www.uni-erfurt.de
2013/09/26 09:44:32.602| httpBuildRequestHeader: User-Agent:
Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Firefox/24.0
2013/09/26 09:44:32.602| httpBuildRequestHeader: Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
2013/09/26 09:44:32.602| httpBuildRequestHeader: Accept-Language:
de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
2013/09/26 09:44:32.602| httpBuildRequestHeader: Accept-Encoding: gzip,
deflate
2013/09/26 09:44:32.602| httpBuildRequestHeader: DNT: 1
2013/09/26 09:44:32.602| httpBuildRequestHeader: Cookie:
fe_typo_user=da84099676df47505ddf202780288455
2013/09/26 09:44:32.602| httpBuildRequestHeader: Connection: keep-alive
2013/09/26 09:44:32.603| httpSendRequest: FD 70:
GET http://www.uni-erfurt.de/ HTTP/1.1
Host: www.uni-erfurt.de
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101
Firefox/24.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Cookie: fe_typo_user=da84099676df47505ddf202780288455
Via: 1.1 lav-desproxy.lav.lsa-net.de (squid/3.1.12)
X-Forwarded-For: 11.40.11.223
Cache-Control: max-age=259200
Connection: keep-alive

2013/09/26 09:44:32.603| comm.cc(165) will call
HttpStateData::sendComplete(FD 70, data=0x7fa5b43376f8) [call11308738]
2013/09/26 09:44:32.603| entering HttpStateData::sendComplete(FD 70,
data=0x7fa5b43376f8)
2013/09/26 09:44:32.603| AsyncCall.cc(32) make: make call
HttpStateData::sendComplete [call11308738]
2013/09/26 09:44:32.603| HttpStateData status in: [ job675990]
2013/09/26 09:44:32.603| httpSendComplete: FD 70: size 507: errflag 0.
2013/09/26 09:44:32.603| The AsyncCall HttpStateData::httpTimeout
constructed, this=0x7fa5c8c4c590 [call11308739]
2013/09/26 09:44:32.603| HttpStateData status out: [ job675990]
2013/09/26 09:44:32.603| leaving HttpStateData::sendComplete(FD 70,
data=0x7fa5b43376f8)
2013/09/26 09:44:32.619| idnsRead: starting with FD 12
2013/09/26 09:44:32.619| idnsRead: FD 12: received 91 bytes from
11.136.15.1:53
2013/09/26 09:44:32.619| idnsGrokReply: ID 0xaef6, 0 answers
2013/09/26 09:44:32.619| idnsGrokReply: www.uni-erfurt.de has no AAAA
records. Looking up A record instead.
2013/09/26 09:44:32.634| idnsRead: starting with FD 12
2013/09/26 09:44:32.634| idnsRead: FD 12: received 91 bytes from
11.136.15.1:53
2013/09/26 09:44:32.634| idnsGrokReply: ID 0x52a9, 0 answers
2013/09/26 09:44:32.634| dns_internal.cc(1143) idnsGrokReply: Sending 0
DNS results to caller.
2013/09/26 09:44:32.771| comm.cc(165) will call
HttpStateData::readReply(FD 18, data=0x7fa5b402cb68, size=9000,
buf=0x7fa5b744cd10) [call11308466]
2013/09/26 09:44:32.771| entering HttpStateData::readReply(FD 18,
data=0x7fa5b402cb68, size=9000, buf=0x7fa5b744cd10)
2013/09/26 09:44:32.771| AsyncCall.cc(32) make: make call
HttpStateData::readReply [call11308466]
2013/09/26 09:44:32.772| HttpStateData status in: [ job675980]
2013/09/26 09:44:32.772| httpReadReply: FD 18: len 9000.
...

I hope, I caught the right piece of the log.

> ... If it was important to suppress these lookups you could build
> your
> Squid with --disable-icmp or comment out the particular call to
> netdbPingSite() in FwdState::dispatch() method of src/forward.cc.

Thanks for the advice, if the problem occures once more and/or lasts
longer, I'll think about this.

Thanks a lot.

Kind regards
Thomas
Received on Thu Sep 26 2013 - 08:09:31 MDT

This archive was generated by hypermail 2.2.0 : Thu Sep 26 2013 - 12:00:04 MDT