From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5191 Path: news.gmane.org!not-for-mail From: Laurent Bercot Newsgroups: gmane.linux.lib.musl.general Subject: Re: Remaining tasks on resolver overhaul Date: Mon, 02 Jun 2014 11:28:00 +0100 Message-ID: <538C51B0.20308@skarnet.org> References: <20140602091848.GA30569@brightrain.aerifal.cx> <20140602095004.GH31947@example.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1401704913 20514 80.91.229.3 (2 Jun 2014 10:28:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Jun 2014 10:28:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5196-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jun 02 12:28:26 2014 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 1WrPTd-0001JK-Mx for gllmg-musl@plane.gmane.org; Mon, 02 Jun 2014 12:28:25 +0200 Original-Received: (qmail 16036 invoked by uid 550); 2 Jun 2014 10:28:23 -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 15972 invoked from network); 2 Jun 2014 10:28:09 -0000 X-SourceIP: 80.111.163.198 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <20140602095004.GH31947@example.net> Xref: news.gmane.org gmane.linux.lib.musl.general:5191 Archived-At: >> - AI_ADDRCONFIG -- but maybe the current implementation of it as a nop >> is actually best > > +1 > (nop is best, guessworks are harmful, code simplification is useful) +1. AI_ADDRCONFIG has always been a logical aberration: the underlying DNS transport and capabilities of the machine have nothing to do with the data transmitted via DNS. If a domain has an AAAA record, I expect getaddrinfo() to return it, whether my machine is IPv6-capable or not. -- Laurent