Subject: Unexpected AAAA queries
To: None <tech-net@netbsd.org>
From: Thomas Seeger <news@seegerinvest.de>
List: tech-net
Date: 07/08/2003 22:01:59
Hi!

While using NetBSD on an i386 machine I experience large delays in
http/ftp/etc. connections:

paul: {1} time finger @www.netbsd.org
finger: connect: Connection refused
0.0u 0.0s 1:15.26 0.0% 0+0k 0+4io 0pf+0w

tcpdump: listening on ne0
21:16:17.423040 arp who-has bummi tell paul.home
21:16:17.423581 arp reply bummi is-at 0:c0:26:e1:3c:4f
21:16:17.423599 paul.home.65512 > bummi.domain:  27239+ AAAA?
www.netbsd.org. (32)
21:16:17.802165 paul.home.65511 > bummi.domain:  9394+ PTR?
2.1.168.192.in-addr.arpa. (42)
21:16:17.804043 bummi.domain > paul.home.65511:  9394* 1/0/0 (85)
21:16:22.430048 paul.home.65510 > bummi.domain:  27239+ AAAA?
www.netbsd.org. (32)
21:16:32.440073 paul.home.65509 > bummi.domain:  27239+ AAAA?
www.netbsd.org. (32)
21:16:52.450031 paul.home.65508 > bummi.domain:  27239+ AAAA?
www.netbsd.org. (32)
21:17:32.460100 paul.home.65507 > bummi.domain:  27240+ A? www.netbsd.org.
(32)
21:17:32.461213 bummi.domain > paul.home.65507:  27240* 1/0/0 (62)
21:17:32.461484 paul.home.65530 > www.netbsd.org.finger: S
3922428210:3922428210(0) win 16384 <mss 1460,nop,wscale 0,nop,nop,timestamp
0 0>
21:17:32.681985 www.netbsd.org.finger > paul.home.65530: R 0:0(0) ack
3922428211 win 0
21:17:32.800292 paul.home.65506 > bummi.domain:  9395+ PTR?
116.184.152.204.in-addr.arpa. (46)
21:17:33.059924 bummi.domain > paul.home.65506:  9395 1/3/0 (146)
^C
14 packets received by filter
0 packets dropped by kernel


Pings are really fine:

paul: {2} time ping -c 1 www.netbsd.org
PING www.netbsd.org (204.152.184.116): 56 data bytes
64 bytes from 204.152.184.116: icmp_seq=0 ttl=241 time=217.817 ms

----www.netbsd.org PING Statistics----
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 217.817/217.817/217.817/0.000 ms
0.0u 0.0s 0:00.23 0.0% 0+0k 1+2io 14pf+0w

tcpdump: listening on ne0
21:19:14.406233 paul.home.65505 > bummi.domain:  13999+ A? www.netbsd.org.
(32)
21:19:14.407349 bummi.domain > paul.home.65505:  13999* 1/0/0 (62)
21:19:14.408252 paul.home > www.netbsd.org: icmp: echo request
21:19:14.626023 www.netbsd.org > paul.home: icmp: echo reply
21:19:15.190604 paul.home.65504 > bummi.domain:  61442+ PTR?
2.1.168.192.in-addr.arpa. (42)
21:19:15.191724 bummi.domain > paul.home.65504:  61442* 1/0/0 (85)
21:19:15.192043 paul.home.65503 > bummi.domain:  61443+ PTR?
116.184.152.204.in-addr.arpa. (46)
21:19:15.448664 bummi.domain > paul.home.65503:  61443 1/3/0 (146)

The problem occurred while installing via ftp (with standard boot disks),
and furthermore with my configured kernel. The AAAA queries seem to be ipv6
related (?).
Here is my resolv.conf:

nameserver 192.168.1.2
search home

and the essential (?) part of my kernel config file:

#options  INET6  # IPV6

Any hints to get rid of those AAAA queries?

Many tnx in advance
Thomas