Current-Users archive

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

Re: IPv4 vs IPv6 name resolution



Jonathan A. Kollasch wrote:
> On Mon, Dec 01, 2008 at 10:50:00PM -0500, Chris Ross wrote:
>>   My question is this:  There used to be an environmental variable that 
>> caused the resolver to prefer one family over another.  I wasn't able to 
>> find it with quick man page searching.  Is there a way, other than by 
>> turning off IPv6 on the host, to cause standard utilities (like ftp) to 
>> resolve names to IPv4 addresses before IPv6 addresses?
> 
> ftp -4.  Having pkgsrc pass that argument, I'll leave to someone
> more knowledgeable.
> 
>       Jonathan Kollasch

In your mk.conf:

FETCH_BEFORE_ARGS+=-4

adrian


Home | Main Index | Thread Index | Old Index