wget prefers IPv4 address over IPv6 one

shrek-m at gmx.de shrek-m at gmx.de
Sun Dec 16 23:37:03 UTC 2007


Dawid Gajownik schrieb:
> Hi!
>
>     Does anyone know why wget prefers IPv4 address over IPv6 one?

you can try
$ wget -6 ftp://ftp.heanet.ie/...


http://www.gnu.org/software/wget/manual/wget.pdf
prefer family = IPv4/IPv6/none
            When given a choice of several addresses, connect to the
addresses with speci-
            fied address family first. IPv4 addresses are preferred by
default. The same as
            ‘--prefer-family’, which see for a detailed discussion of
why this is useful.

> [gajownik at cyklop tmp]$ LANG=C wget
> ftp://ftp.heanet.ie/pub/fedora/linux/releases/8/Fedora/i386/iso/Fedora-8-i386-rescuecd.iso
>
> --14:34:30--
> ftp://ftp.heanet.ie/pub/fedora/linux/releases/8/Fedora/i386/iso/Fedora-8-i386-rescuecd.iso
>
>            => `Fedora-8-i386-rescuecd.iso'
> Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
> Connecting to ftp.heanet.ie|193.1.193.64|:21... connected.
>
> [snip]
>
> What do you think about adding to the default /etc/wgetrc file this
> statement:
>
> prefer-family = IPv6

bugzilla ?

-- 
shrek-m




More information about the fedora-test-list mailing list