Re: resolver latencies return in Mozilla 1.6
From: Alex (xfb52_at_dial.pipex.no_bananas.com)
Date: 01/20/04
- Previous message: Adam K Kirchhoff: "Re: Anyone using ctwm and firebird?"
- In reply to: Donn Miller: "Re: resolver latencies return in Mozilla 1.6"
- Next in thread: Alex: "Re: resolver latencies return in Mozilla 1.6"
- Reply: Alex: "Re: resolver latencies return in Mozilla 1.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 20 Jan 2004 12:23:45 +0000
Donn Miller wrote:
> Alex wrote:
>> I have similar problems. I have watched the packets going out and I
>> see mozilla sending IPv6 address queries (querytype=AAAA) which my
>> ISP's DNS server keeps rejecting. After a while I guess mozilla gives
>> up and sends a simple IPv4 address query (querytype=A) at which point
>> everything runs normally.
>
>
> One interesting thing to do is to try setting log_in_vain="1" in
> The reason is to see if you're getting
> repeated messages like
>
> Connection attempt to UDP 192.168.0.105:49705 from 63.67.120.14:53
> [...]
> I get all kinds of messages like these, while the DNS lookups are
> "hanging" in Mozilla. As you can see, it looks like Mozilla is
> serializing DNS lookups, because it looks my ISP's DNS servers are
> attempting to connect via different ports.
I'm not sure that 4.9 supports log_in_vain, but I think I see the same
behaviour when I turn logging on for relevant firewall packets.
What I see is:
Mozilla sends AAAA request -> DNS
11:46:51.510233 82.41.37.129.1208 > 62.31.64.39.53:
6183+ AAAA? ad.uk.doubleclick.net. (39)
DNS sends some kind of failure
11:46:53.513503 62.31.144.39.53 > 82.41.37.129.1207:
6183 ServFail 1/0/0 CNAME[|domain] (DF)
Then for reasons not understood by me localhost sends and ICMP unreachable
(mozilla not actually listening on this port???)
11:46:53.513698 82.41.37.129 > 62.31.144.39:
icmp: 82.41.37.129 udp port 1207 unreachable (DF)
Then the procedure repeats with another port number, often one higher but not
always (which looks like what you were describing).
Eventually, after several tries mozilla sends an A DNS request
11:47:19.950171 82.41.37.129.1212 > 62.31.64.39.53:
6184+ A? ad.uk.doubleclick.net. (39)
Which mozilla seems to get a valid address from
11:47:19.957988 62.31.64.39.53 > 82.41.37.129.1212:
6184 2/0/0 CNAME[|domain] (DF)
Sometimes some of this conversation seems to be missing. The tcpdump output
isn't easy to read.
What's weird is that for these failing conversations my firewall doesn't seem
to see the incoming UDP packet. So around the time this failing conversation
was going on it saw:
Jan 20 11:46:47 cartman /kernel: ipfw:
8200 Accept UDP 62.31.64.39:53 82.41.37.129:1205 in via sis1
Jan 20 11:46:47 cartman /kernel: ipfw:
5600 Accept ICMP:3.3 82.41.37.129 62.31.64.39 out via sis1
Jan 20 11:46:51 cartman /kernel: ipfw:
8000 Accept UDP 82.41.37.129:1208 62.31.64.39:53 out via sis1
Notice the pot number gap between 1205 and 1208 exactly where the failure is
going on -- port 1207.
At this point I don't think I understand enough about what's going on to know
how to proceed, but it does seem to me that if those AAAA requests were never
sent, then the delays wouldn't be there. What isn't clear is why some of
these requests go through so much quicker:
11:46:26.660701 82.41.37.129.1192 > 62.31.64.39.53:
6173+ AAAA? www.londonnet.co.uk. (37)
11:46:26.682620 62.31.64.39.53 > 82.41.37.129.1192:
6173 0/1/0 (97) (DF)
11:46:26.682929 82.41.37.129.1193 > 62.31.64.39.53:
6174+ A? www.londonnet.co.uk. (37)
11:46:26.704725 62.31.64.39.53 > 82.41.37.129.1193:
6174 1/0/0 A 217.158.99.83 (53) (DF)
Same sequential port numbers, but no ICMPs, no "ServFail" packet (whatever
that is) and all resolved in a fraction of a second.
I have no idea why this happens only sometimes. I took me twenty or thirty
goes to find a site which caused a delay. Especially annoying that it was an
advert site which caused the resolution problems.
No-one else seems to be chipping in to this conversation. Any ideas about
other places to try?
--Alex
- Previous message: Adam K Kirchhoff: "Re: Anyone using ctwm and firebird?"
- In reply to: Donn Miller: "Re: resolver latencies return in Mozilla 1.6"
- Next in thread: Alex: "Re: resolver latencies return in Mozilla 1.6"
- Reply: Alex: "Re: resolver latencies return in Mozilla 1.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|