[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#268631: force preference of IPv4 over IPv6



Package: apt
Version: 0.5.27
Severity: wishlist

The mirror I use supports both IPv4 & IPv6 for access method http,

  $ host -t a ftp.ie.debian.org
  ftp.ie.debian.org has address 193.1.219.85

  $ host -t aaaa ftp.ie.debian.org
  ftp.ie.debian.org has AAAA address 2001:770:18:2::1:1

My IPv6 connection is via a 6in4 tunnel.  Bottom line: v4 is much
faster on this route than v6.  (I suspect this is typical of
IPv6-enabled machines, and will remain so for at least ten years.)
However apt-get seems to use v6 in preference to v4 when both are
available.  I wish there were a way to alter this behavior.



Reply to: