Re: [DNSOP] Working Group Last Call draft-ietf-dnsop-refuse-any

Matthijs Mekking <matthijs@pletterpet.nl> Mon, 28 November 2016 13:26 UTC

Return-Path: <matthijs@pletterpet.nl>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0ECC0129F11 for <dnsop@ietfa.amsl.com>; Mon, 28 Nov 2016 05:26:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham autolearn_force=no
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 HXzpDbqPaqYV for <dnsop@ietfa.amsl.com>; Mon, 28 Nov 2016 05:26:05 -0800 (PST)
Received: from dicht.nlnetlabs.nl (dicht.nlnetlabs.nl [IPv6:2a04:b900::1:0:0:10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68C14129F06 for <dnsop@ietf.org>; Mon, 28 Nov 2016 05:26:05 -0800 (PST)
Received: from [172.19.128.222] (vpn-10-mht.dyndns.com [216.146.45.33]) by dicht.nlnetlabs.nl (Postfix) with ESMTPSA id 92A6FAE05; Mon, 28 Nov 2016 14:26:02 +0100 (CET)
Authentication-Results: dicht.nlnetlabs.nl; dmarc=none header.from=pletterpet.nl
To: Tony Finch <dot@dotat.at>
References: <CADyWQ+FwGf66+HL3W46C2d1BJZoyRxBDPPw8Yuup8k0Haise=g@mail.gmail.com> <395f79ce-eb0a-f3e8-292b-f157613b52d4@pletterpet.nl> <alpine.DEB.2.11.1611281238310.14104@grey.csi.cam.ac.uk>
From: Matthijs Mekking <matthijs@pletterpet.nl>
Message-ID: <4a9b0ba9-d8a1-7e15-e35c-677c54d30c7e@pletterpet.nl>
Date: Mon, 28 Nov 2016 14:25:59 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.11.1611281238310.14104@grey.csi.cam.ac.uk>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/TEulLEcM8ckvtgwB5JAl4bVat5w>
Cc: dnsop@ietf.org
Subject: Re: [DNSOP] Working Group Last Call draft-ietf-dnsop-refuse-any
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 28 Nov 2016 13:26:07 -0000

Are we still creating standards based on "BIND does this"? :p

On 28-11-16 13:57, Tony Finch wrote:
> Matthijs Mekking <matthijs@pletterpet.nl> wrote:
>>
>> 1. In case of a DNS responder selecting one or a subset of the RRsets at the
>> QNAME, The draft does not give clear guidance on which RRset(s) to pick.
>
> The code in BIND just picks an arbitrary RRset, without making any effort
> to be clever.
>
> It makes an ANY query to the back end, then adds the first RRset to the
> response. The data from the back end doesn't have a deterministic order.
> Doing better than this would (I think) require additional methods in the
> rdataset API to get the size of the RRset. Unless we use a dumb heuristic
> like smallest RR TYPE number :-)

Fair enough for reasoning not to use a determinative mechanism, but in 
that case such considerations should be added to the document IMO.

Best regards,
   Matthijs

>> 2. People expressed that they would like to see ANY over TCP stick to the
>> original (undefined) behavior, that is to return all RRsets at the QNAME.
>
> BIND does this.
>
>> One more nit comment, I would like to see explicitly called out in section 7
>> that "DNS implementations are free to not return all RRSIGS *in case
>> QTYPE=RRSIG*".
>
> BIND also does this.
>
> Tony.
>