Re: [DNSOP] [dns-operations] dnsop-any-notimp violates the DNS standards

bert hubert <bert.hubert@netherlabs.nl> Mon, 09 March 2015 15:26 UTC

Return-Path: <ahu@xs.powerdns.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA4711A9096 for <dnsop@ietfa.amsl.com>; Mon, 9 Mar 2015 08:26:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xo52QnpxSWoq for <dnsop@ietfa.amsl.com>; Mon, 9 Mar 2015 08:26:06 -0700 (PDT)
Received: from xs.powerdns.com (xs.powerdns.com [IPv6:2001:888:2000:1d::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CD411A902D for <dnsop@ietf.org>; Mon, 9 Mar 2015 08:18:14 -0700 (PDT)
Received: from ahu by xs.powerdns.com with local (Exim 4.71) (envelope-from <ahu@xs.powerdns.com>) id 1YUzRc-0007q9-JC; Mon, 09 Mar 2015 16:18:12 +0100
Date: Mon, 09 Mar 2015 16:18:12 +0100
From: bert hubert <bert.hubert@netherlabs.nl>
To: dnsop@ietf.org, dns-operations@dns-oarc.net
Message-ID: <20150309151812.GA14897@xs.powerdns.com>
References: <20150309110803.4516.qmail@cr.yp.to>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20150309110803.4516.qmail@cr.yp.to>
User-Agent: Mutt/1.5.20 (2009-06-14)
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/YCL7GNQiYlZSkDYzwZ1h47y3sEI>
Subject: Re: [DNSOP] [dns-operations] dnsop-any-notimp violates the DNS standards
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Mar 2015 15:26:08 -0000

On Mon, Mar 09, 2015 at 11:08:03AM -0000, D. J. Bernstein wrote:
> My "qmail" software is very widely deployed (on roughly 1 million SMTP
> server IP addresses) and, by default, relies upon ANY queries in a way
> that is guaranteed to work by the mandatory DNS standards.

Hi Dan,

The way I read RFC 1034 4.3.2, this is not true. In step 4 we match whatever
we find in the cache, put it in the packet, and move on to step 6.

This means the algorithm might terminate returning only an A record or only
an AAAA record.  Or a TXT record for that matter.

This reading of 4.3.2 makes 'ANY' queries to resolvers fragile. It might not
return what you need.

Do you think I read 4.3.2 wrong? Or is there another RFC that updates the
algorithm?

	Bert