From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12912 Path: news.gmane.org!.POSTED!not-for-mail From: Florian Weimer Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl dns search domain stop when current search got some error Date: Wed, 13 Jun 2018 07:26:45 +0200 Message-ID: <874li7b6ju.fsf@mid.deneb.enyo.de> References: <2b350e19.14e4.163f17c6d76.Coremail.00107082@163.com> <20180612041231.GA23756@voyager> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528867535 25482 195.159.176.226 (13 Jun 2018 05:25:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Jun 2018 05:25:35 +0000 (UTC) Cc: musl@lists.openwall.com To: Markus Wichmann Original-X-From: musl-return-12928-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jun 13 07:25:31 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fSyHh-0006Uz-2j for gllmg-musl@m.gmane.org; Wed, 13 Jun 2018 07:25:29 +0200 Original-Received: (qmail 18389 invoked by uid 550); 13 Jun 2018 05:27:35 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18364 invoked from network); 13 Jun 2018 05:27:34 -0000 In-Reply-To: <20180612041231.GA23756@voyager> (Markus Wichmann's message of "Tue, 12 Jun 2018 06:12:31 +0200") Xref: news.gmane.org gmane.linux.lib.musl.general:12912 Archived-At: * Markus Wichmann: > Let me stop you there. I think we already had this discussion once, but > here goes: code 0 means "Name exists". No answers mean "No record of > this type exists". Therefore, if one of your local resolvers does that, > it means to tell you that the name exists, just no records of type A or > AAAA or CNAME. If the name actually does not exist, then this is a bug > in the DNS server and should be fixed there. NODATA (RCODE 0 without any data) for non-existing names is part of the DNS protocol as it is deployed, for various reasons (empty non-terminals, enumeration protection, online signing).