Subject: Re: DNS resolver address filtering
To: Erik E.Fair <fair@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-net
Date: 08/05/2005 08:47:36
On Aug 5, 2005, at 1:52 AM, Erik E. Fair wrote:

> We need a facility added to the resolver to filter the addresses
> it returns.
>
> I do not have IPv6 connectivity. Until I do, it is pointless for
> the apps to try any IPv6 addresses. I need a way to prevent the
> DNS resolver (probably with a directive in /etc/resolv.conf) from
> returning IPv6 addresses.
>
> One day, there will be IPv6-only sites. They will also need such
> a filter facility, to remove IPv4 addresses from the resolver
> response.

I disagree.  What will happen is simply confusion for the end-user.   
If you filter out IPv6 responses (for example), then you might get a  
"no such host" error when you look up a name... but that isn't  
correct... the host exists, you just can't connect to it, so the  
current "no route to host" error on connection attempt is exactly  
correct and much more descriptive of the actual problem

-- thorpej