From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8750 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Re: Would love to see reconsideration for domain and search Date: Fri, 23 Oct 2015 14:29:19 -0400 Message-ID: <20151023182919.GK8645@brightrain.aerifal.cx> References: 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 1445624996 24948 80.91.229.3 (23 Oct 2015 18:29:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Oct 2015 18:29:56 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8763-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 23 20:29:56 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Zph5q-0005QZ-HO for gllmg-musl@m.gmane.org; Fri, 23 Oct 2015 20:29:34 +0200 Original-Received: (qmail 15638 invoked by uid 550); 23 Oct 2015 18:29:32 -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 15618 invoked from network); 23 Oct 2015 18:29:32 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8750 Archived-At: On Fri, Oct 23, 2015 at 07:40:45PM +0200, Jan Broer wrote: > >I think that is where we have arrived (except it's < and >= in your > >expressions). Kubernetes will have to change some to satisfy the > >assumed fungibility of nameservers, but it's the direction things are > >almost certainly moving anyway. > > Hi Tim, i guess i skipped these last message - sorry. > > If you could clear this up for me: > When there are multiple nameservers, does the musl resolver return the > first response it receives regardless of it's status? > So even when it is something like SERVFAIL or REFUSED it will not wait for > the responses from the other nameservers that might be positive? No. musl basically ignores and response except success or nxdomain. Actually servfail is treated specially and results in a limited number of immediate retries because there are a lot of broken nameservers that return servfail but immediately succeed on a second try, and doing the immediate retry drastically speeds up queries in such environments. In any case, only success or nxdomain are treated as results reportable to the caller. Otherwise musl waits for one of these and returns a transient failure (not does-not-exist) if it times out. Rich