From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13511 Path: news.gmane.org!.POSTED!not-for-mail From: Natanael Copa Newsgroups: gmane.linux.lib.musl.general Subject: Re: DNS resolver patch Date: Thu, 6 Dec 2018 16:48:20 +0100 Message-ID: <20181206164820.07cc96f4@ncopa-desktop.copa.dup.pw> References: <1934405743.3003283.1544074315707.JavaMail.zimbra@totalphase.com> <87r2eu1zbc.fsf@oldenburg2.str.redhat.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1544111193 4810 195.159.176.226 (6 Dec 2018 15:46:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 15:46:33 +0000 (UTC) Cc: musl@lists.openwall.com, Tarun Johar To: Florian Weimer Original-X-From: musl-return-13527-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 06 16:46:29 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 1gUvrA-00019c-Af for gllmg-musl@m.gmane.org; Thu, 06 Dec 2018 16:46:28 +0100 Original-Received: (qmail 7287 invoked by uid 550); 6 Dec 2018 15:48:36 -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 7266 invoked from network); 6 Dec 2018 15:48:36 -0000 In-Reply-To: <87r2eu1zbc.fsf@oldenburg2.str.redhat.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-alpine-linux-musl) Xref: news.gmane.org gmane.linux.lib.musl.general:13511 Archived-At: On Thu, 06 Dec 2018 15:53:43 +0100 Florian Weimer wrote: > * Tarun Johar: > > > The VirtualBox --natdnsresolver does not support IPv6 AAAA address > > queries. It returns "NotImp" (code 4) for such queries. > > I think that's not the only bug, and glibc fails to work around all of > them. We occasionally get bug reports about DNS resolution issues under > VirtualBox, too. Oracle really needs to fix this properly. > > Thanks, > Florian Problem is here: https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Devices/Network/slirp/hostres.c?rev=59202#L408 402 if ( qtype != Type_A 403 && qtype != Type_CNAME 404 && qtype != Type_PTR 405 && qtype != Type_ANY) 406 { 407 LogErr(("NAT: hostres: unsupported qtype %d\n", qtype)); 408 return refuse(pData, m, RCode_NotImp); 409 } They should return RCode_NXDomain instead of RCode_NotImp. Seems like they also have more of those invalid use of NotImp. -nc