Bug#578019: libwebkit-1.0-2: makes DNS query for every mouse movement

ian_bruce at fastmail.net ian_bruce at fastmail.net
Sun Apr 18 07:52:04 UTC 2010


On Sun, 18 Apr 2010 08:41:30 +0200
Mike Hommey <mh at glandium.org> wrote:

> I can't reproduce this behaviour... Are you sure these requests come
> from epiphany ?

Epiphany, or Midori.

midori : version 0.2.4-2

epiphany-browser : version 2.30.2-1

libwebkit-1.0-2 : version 1.2.0-1

The correlation between moving the mouse pointer around in the browser
window, and getting this stream of DNS queries, is 100%. If the mouse
pointer is motionless, or not inside the browser window, nothing
happens. If it moves inside the browser window, there are two DNS
queries for every pixel of movement (or more probably, every mouse event
from the X server):

00:27:05.355933 IP web.client.52494 > dns.server.53: 44565+ A? . (17)
00:27:05.356072 IP web.client.52494 > dns.server.53: 6626+ AAAA? . (17)
00:27:05.378726 IP dns.server.53 > web.client.52494: 44565 0/1/0 (92)
00:27:05.379457 IP dns.server.53 > web.client.52494: 6626 0/1/0 (92)

It doesn't even matter whether the browser window has the input
focus. However, if the mouse pointer moves along a hyperlink, then no
DNS queries are generated.

This is probably a stupid question, but does your /etc/resolv.conf point
to a remote DNS server? Does tcpdump show the DNS query for the webhost
when a page gets loaded?






More information about the Pkg-webkit-maintainers mailing list