wget should prefer IPv6 over IPv4

Bug #274409 reported by Gioele Barabucci
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wget (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

wget should prefer AAAA records over A a records when IPv6 connectivity is available.

To accomplish this the following line has to be added to /etc/wgetrc:

prefer-family = IPv6

With that setting wget will use AAAA records when available and use IPv4 as a fall-back.

Tags: ipv6
Revision history for this message
Davíð Steinn Geirsson (david-dsg) wrote :

Confirmed in jaunty, the default is still to prefer A records.

Changed in wget (Ubuntu):
status: New → Confirmed
Revision history for this message
Micah Cowan (micahcowan) wrote :

Upstream Wget 1.12 has fixed this. It's in Debian unstable now, will probably find it's way to Ubuntu in Lucid Lynx.

Changed in wget (Ubuntu):
status: Confirmed → Fix Committed
Emmet Hikory (persia)
tags: added: ipv6
Revision history for this message
Radek Zajic (radek-zajic) wrote :

Works as expected. Tested on Lucid Lynx.

root@router-liben:/tmp# wget http://bgp.potaroo.net/stats/arin/delegated
--2010-05-16 19:57:52-- http://bgp.potaroo.net/stats/arin/delegated
Resolving bgp.potaroo.net... 2401:2000:6660::2, 203.119.0.116
Connecting to bgp.potaroo.net|2401:2000:6660::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2994312 (2.9M) [text/plain]
Saving to: `delegated'

100%[=======================================================================================================================================>] 2,994,312 170K/s in 26s

2010-05-16 19:58:19 (112 KB/s) - `delegated' saved [2994312/2994312]

Andreas Olsson (andol)
Changed in wget (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.