Re: Cannot initiate the connection to ftp.debian.org:80

Robert L Mathews <[email protected]>
Newsgroups gmane.linux.debian.user.isp
Message-ID <[email protected]>
Brett Parker wrote:

> I'm not sure how you configure to do v4 before v6 though.

One way to do this is to edit "/etc/gai.conf". At least on lenny, it 
contains the following comment:

#    For sites which prefer IPv4 connections change the last line to
#
#precedence ::ffff:0:0/96  100

And indeed, I tried that once as a test and it worked fine -- outbound 
connections preferred the IPv4 A record result over the IPv6 AAAA record 
result when both were available.

-- 
Robert L Mathews, Tiger Technologies, http://www.tigertech.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.