From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4325 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: Mon, 2 Dec 2013 21:11:31 -0500 Message-ID: <20131203021131.GJ24286@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 1386036701 19216 80.91.229.3 (3 Dec 2013 02:11:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2013 02:11:41 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4329-gllmg-musl=m.gmane.org@lists.openwall.com Tue Dec 03 03:11:46 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 1VnfSj-0008RC-9d for gllmg-musl@plane.gmane.org; Tue, 03 Dec 2013 03:11:45 +0100 Original-Received: (qmail 1369 invoked by uid 550); 3 Dec 2013 02:11:43 -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 1342 invoked from network); 3 Dec 2013 02:11:43 -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:4325 Archived-At: On Sat, Nov 30, 2013 at 11:27:43PM +0800, orc wrote: > I use probably too outdated 0.9.12. > > I also got interesting results while testing from git. > Attached logs from strace for busybox ping. Files marked with '4' in > names mean that first address in resolv.conf was ipv4 one then ipv6, > while other two vice versa. > Git build with ipv4 address given first fails with big loop and no > host is resolved (huge log). > Git version was built with debugging, shared and existing binary > executed via invoking libc.so. > > Since ipv4 addresses are working right if come first, then your > approach seems to be fine. I'm still not entirely clear what these logs are showing. I believe everything is fixed now though, so please let me know if you're still having problems. Rich