From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SUBJ_OBFU_PUNCT_FEW,SUBJ_OBFU_PUNCT_MANY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16133 invoked from network); 23 Aug 2020 21:31:52 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 23 Aug 2020 21:31:52 -0000 Received: (qmail 1072 invoked by uid 550); 23 Aug 2020 21:31:44 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 1041 invoked from network); 23 Aug 2020 21:31:44 -0000 From: Daniel Neri Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Message-Id: <5232EC15-7E60-4D1F-BF3B-C31BFF998C06@rb67.eu> Date: Sun, 23 Aug 2020 23:31:32 +0200 To: musl@lists.openwall.com X-Mailer: Apple Mail (2.3445.104.15) Subject: [musl] Incompatible behaviour of res_query(3) w.r.t. NXDOMAIN Hello, Musl=E2=80=99s res_query(3) returns success for a query that results in = an NXDOMAIN response, which disagrees with other common implementations. Simple test case: https://t.rb67.eu/res_query.c On Debian Linux, OpenBSD and FreeBSD this program prints: error: Unknown host but on Alpine Linux edge (musl v1.2.1): success (size 91) Best regards, Daniel