Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
guru needed for dns resolv AAAA issue (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
damsos
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 142
Location: PARIS

PostPosted: Thu Jun 10, 2004 1:17 pm    Post subject: guru needed for dns resolv AAAA issue (solved) Reply with quote

hi,
whith any browser i use (mozilla, galeon, etc), the resolver always try AAAA (ipv6 request) as below when i type www.gentoo.org (tcpdumplogs ) :
15:03:44.240740 IP 192.168.1.4.33345 > maridia.nerim.net.domain: 45213+ AAAA? www.gentoo.org. (32)
15:03:44.281210 IP maridia.nerim.net.domain > 192.168.1.4.33345: 45213 0/1/0 (94)
15:03:44.281415 IP 192.168.1.4.33345 > maridia.nerim.net.domain: 45214+ AAAA? www.gentoo.org. (32)
15:03:44.321236 IP maridia.nerim.net.domain > 192.168.1.4.33345: 45214 0/1/0 (94)
15:03:44.321439 IP 192.168.1.4.33345 > maridia.nerim.net.domain: 45215+ A? www.gentoo.org. (32)
15:03:44.366257 IP maridia.nerim.net.domain > 192.168.1.4.33345: 45215 3/2/2 A 203.112.31.164, A 198.63.211.235, A mail.gentoo.org (164)
15:03:44.366582 IP 192.168.1.4.33345 > maridia.nerim.net.domain: 33134+ PTR? 164.31.112.203.in-addr.arpa. (45)
15:03:44.408736 IP maridia.nerim.net.domain > 192.168.1.4.33345: 33134 NXDomain 0/1/0 (106)
15:03:44.409118 IP 192.168.1.4.33345 > maridia.nerim.net.domain: 33135+ AAAA? www.gentoo.org. (32)
15:03:44.453757 IP maridia.nerim.net.domain > 192.168.1.4.33345: 33135 0/1/0 (94)
15:03:44.453890 IP 192.168.1.4.33345 > maridia.nerim.net.domain: 33136+ AAAA? www.gentoo.org. (32)
15:03:44.493787 IP maridia.nerim.net.domain > 192.168.1.4.33345: 33136 0/1/0 (94)
15:03:44.494125 IP 192.168.1.4.33345 > maridia.nerim.net.domain: 33137+ PTR? 235.211.63.198.in-addr.arpa. (45)
15:03:44.536303 IP maridia.nerim.net.domain > 192.168.1.4.33345: 33137 NXDomain 0/1/0 (106)


when from a shell window i type ping www.gentoo.org i got the normal
dns request (A) :

15:06:31.001709 IP 192.168.1.4.33347 > maridia.nerim.net.domain: 33140+ A? www.gentoo.org. (32)
15:06:31.001924 IP 192.168.1.4.33348 > maridia.nerim.net.domain: 58531+ PTR? 4.1.168.192.in-addr.arpa. (42)
15:06:31.039912 IP maridia.nerim.net.domain > 192.168.1.4.33347: 33140 3/2/2 A mail.gentoo.org, A 203.112.31.164, A 198.63.211.235 (164)
15:06:31.049846 IP maridia.nerim.net.domain > 192.168.1.4.33348: 58531 NXDomain 0/1/0 (119)

Is there a way to prevent the browser of doing AAAA requests ? as it adds
enerving latencies
many thanks


Last edited by damsos on Thu Jun 10, 2004 3:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Jun 10, 2004 1:57 pm    Post subject: Reply with quote

Could you post the output of
Code:
cat /var/db/pkg/net-www/mozilla-*/USE
?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
damsos
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 142
Location: PARIS

PostPosted: Thu Jun 10, 2004 2:00 pm    Post subject: Reply with quote

yes it is :
atanar root # cat /var/db/pkg/net-www/mozilla-*/USE
X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib video_cards_radeon
thanks,
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Jun 10, 2004 2:16 pm    Post subject: Reply with quote

I thought you had compiled mozilla with IPv6 support, but you haven't. Which means the only culprit can be the kernel. Compile your kernel without IPv6 support, that should fix things. (I assume you don't need IPv6 support - if you do, you can try compiling it as a module and not into the kernel).
Also check your /etc/resolv.conf - maybe your DNS servers are specified incorrectly.
Edit: Also see this Mozilla bug report
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
damsos
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 142
Location: PARIS

PostPosted: Thu Jun 10, 2004 2:26 pm    Post subject: Reply with quote

i'm using 2.4.25 and looking at the .config no ipv6 is enabled,
if it was the case i would have the same AAAA requests when doing ping www.gentoo.org
maybe i should install my own resolver ?
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Jun 10, 2004 2:44 pm    Post subject: Reply with quote

Uh, what own resolver?
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
damsos
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2004
Posts: 142
Location: PARIS

PostPosted: Thu Jun 10, 2004 3:07 pm    Post subject: Reply with quote

hi ,
i solved it , you were right it was IPV6 loaded in the kernel that was the culprit.
many thanks :)
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Jun 10, 2004 3:32 pm    Post subject: Reply with quote

You're most welcome, glad it worked out.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum