From: Daniel Neri <dne+musl@rb67.eu>
To: musl@lists.openwall.com
Subject: [musl] Incompatible behaviour of res_query(3) w.r.t. NXDOMAIN
Date: Sun, 23 Aug 2020 23:31:32 +0200 [thread overview]
Message-ID: <5232EC15-7E60-4D1F-BF3B-C31BFF998C06@rb67.eu> (raw)
Hello,
Musl’s 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
next reply other threads:[~2020-08-23 21:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-23 21:31 Daniel Neri [this message]
2020-08-24 16:16 ` Rich Felker
2020-08-24 16:43 ` Rich Felker
2020-08-24 20:39 ` Daniel Neri
2020-08-24 21:36 ` Rich Felker
2020-08-24 21:04 ` Florian Weimer
2020-08-24 21:32 ` Rich Felker
2020-08-24 21:51 ` Daniel Neri
2020-08-24 22:09 ` Rich Felker
2020-08-25 3:26 ` Rich Felker
2020-08-25 13:56 ` Daniel Neri
2020-08-24 22:04 ` Florian Weimer
2020-08-24 22:13 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5232EC15-7E60-4D1F-BF3B-C31BFF998C06@rb67.eu \
--to=dne+musl@rb67.eu \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).