SixXS::Sunset 2017-06-06

Prefer IPv6 (or: Use AAAA instead of A-records)
[no] Shadow Hawkins on Sunday, 17 June 2007 15:35:32
Hi, I have an server with dual-stack, and a client with dual-stack. This server runs Apache2 on a Debian-system, and the server listens to ::80 (only). The client is also a Debian-system. The DNS-server holds an A and AAAA record for this server: port.burning.hell. 604800 IN A 192.168.10.1 port.burning.hell. 604800 IN AAAA 2001:14b8:16c::1 However, when I point my Firefox to http://port.burning.hell/ it connect to 192.168.10.1. He prefers IPv4 over IPv6. However, if I point it to http://[2001:14b8:16c::1]/ it works without a problem. Now the strange part: On my Windows XP SP2 host (also dual-stack), he connects via IPv6. And last, but not least: When I connect to http://noc.sixxs.net, my Debian-client prefers IPv6. Anyone know why this is happening? -- vidar h
Prefer IPv6 (or: Use AAAA instead of A-records)
[ch] Jeroen Massar SixXS Staff on Sunday, 17 June 2007 15:40:09
According to some discussion glibc prefers local and directly-connected routes, then IPv6 and then IPv4. It is not clear on how to change this behavior though or how it exactly works.
Prefer IPv6 (or: Use AAAA instead of A-records)
[de] Shadow Hawkins on Tuesday, 19 June 2007 09:14:02
The feature is fixed in glibc 2.5-1 and later: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428434 There isn't a fix for Etch.

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker