From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4302 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: IPv4 and IPv6 addresses in resolv.conf Date: Fri, 29 Nov 2013 22:17:44 -0500 Message-ID: <20131130031744.GM24286@brightrain.aerifal.cx> References: <761df492-c2ee-41d5-84f8-faef313164bf@email.android.com> <20131129174410.GD24286@brightrain.aerifal.cx> <20131130003704.GL24286@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1385781472 3989 80.91.229.3 (30 Nov 2013 03:17:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Nov 2013 03:17:52 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4306-gllmg-musl=m.gmane.org@lists.openwall.com Sat Nov 30 04:17:58 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Vmb49-0001gl-ES for gllmg-musl@plane.gmane.org; Sat, 30 Nov 2013 04:17:57 +0100 Original-Received: (qmail 21506 invoked by uid 550); 30 Nov 2013 03:17:56 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 20474 invoked from network); 30 Nov 2013 03:17:56 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4302 Archived-At: On Fri, Nov 29, 2013 at 08:18:20PM -0500, Strake wrote: > On 29/11/2013, Rich Felker wrote: > > What I think would be the correct behavior is noting whether any v6 > > addresses are seen, and if so, converting the v4 addresses to > > v4-mapped v6 addresses and using IPv6 for all communication. Does this > > sound reasonable? > > It would be simpler to just always convert to v6. But that would mean complete unconditional DNS failure on systems lacking IPv6. Rich