Re: [DNSOP] draft-ietf-dnsop-kskroll-sentinel-10 and AD

Mark Andrews <marka@isc.org> Wed, 04 April 2018 01:00 UTC

Return-Path: <marka@isc.org>
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 1041812D93F for <dnsop@ietfa.amsl.com>; Tue, 3 Apr 2018 18:00:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 NqSzQEV8EBd9 for <dnsop@ietfa.amsl.com>; Tue, 3 Apr 2018 18:00:00 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (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 4CF09127775 for <dnsop@ietf.org>; Tue, 3 Apr 2018 18:00:00 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id E6C1F3AB065; Wed, 4 Apr 2018 00:59:59 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id A657D160054; Wed, 4 Apr 2018 00:59:44 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 8EAEE16007A; Wed, 4 Apr 2018 00:59:44 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9fyAJdL8VO2a; Wed, 4 Apr 2018 00:59:44 +0000 (UTC)
Received: from [172.30.42.91] (c27-253-115-14.carlnfd2.nsw.optusnet.com.au [27.253.115.14]) by zmx1.isc.org (Postfix) with ESMTPSA id B24CA160054; Wed, 4 Apr 2018 00:59:43 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Mark Andrews <marka@isc.org>
In-Reply-To: <756BFAD3-2867-4646-B028-7D93C05BA8F3@apnic.net>
Date: Wed, 04 Apr 2018 10:59:41 +1000
Cc: Paul Hoffman <paul.hoffman@vpnc.org>, dnsop <dnsop@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <167E8357-FE53-43DC-84C6-B720BD8069E4@isc.org>
References: <039408B0-89EE-4038-B9C9-CBCC35EC24EC@isc.org> <64816369-700A-4413-B1F0-160FB145EE6C@gmail.com> <BF3E4F4D-027C-4A2B-8026-14AF3FBA4603@isc.org> <2F103A8E-72F6-4159-900D-B7006D0AC647@gmail.com> <6D617FAC-D981-4AE1-8943-4F0D12C46397@vpnc.org> <0B0775D9-B5E6-4778-A199-FE4D09A0BE17@apnic.net> <D19F6299-922A-4DCE-8E95-85CA72E63129@vpnc.org> <A4AA3F56-12A5-4951-B01A-450B493E0E4A@apnic.net> <412D2533-2332-4F38-BAC6-4C5AF391C124@isc.org> <756BFAD3-2867-4646-B028-7D93C05BA8F3@apnic.net>
To: Geoff Huston <gih@apnic.net>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/fFR7s2CGz-IJDxfivOJ9V7sjaac>
Subject: Re: [DNSOP] draft-ietf-dnsop-kskroll-sentinel-10 and AD
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 04 Apr 2018 01:00:02 -0000

> On 4 Apr 2018, at 10:28 am, Geoff Huston <gih@apnic.net> wrote:
> 
> I thought that if the query contained CD = 1 then the DNS response
> would not be validated,

This ONLY applies if the answer is NOT ALREADY CACHED.  If the answer
is already cached then CD=1 queries will get this processing as the
answer returned from the cache will be “secure” or “insecure” depending
on ealier validation.  If you don’t want CD=1 queries to get this processing
you need to explicitly exclude it.  You can’t depend on the answer NOT being
cached.

> and precondition 1 would not be met.


> But I’m probably wrong, so could you please suggest wording here?
> 
> regards,
> 
> Geoff
> 
> 
>> On 4 Apr 2018, at 10:21 am, Mark Andrews <marka@isc.org> wrote:
>> 
>> You are effectively saying that the resolver MUST ignore CD=1 for these queries.
>> 
>>> On 4 Apr 2018, at 7:36 am, Geoff Huston <gih@apnic.net> wrote:
>>> 
>>> 
>>> 
>>>> On 4 Apr 2018, at 7:11 am, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
>>>> 
>>>> On 3 Apr 2018, at 13:45, Geoff Huston wrote:
>>>> 
>>>>> Is the wording “that the resolver has to do DNSSEC validation on what it gets back from the authoritative server *regardless* of whether the originating client requests it?” a clarification that updates the validation behaviours as specified in RFC4035 and RFC6840 as to when a security aware resolver performs validation? Or merely a clarification of the precondition in the context of the sentinel behaviour but of no wider import?
>>>> 
>>>> The latter. Otherwise, someone reading the document might not understand that the response must be validated no matter what.
>>> 
>>> 
>>> So you are saying that the document should revert to the wording:
>>> 
>>> All of the following conditions must be met to trigger special
>>> processing inside resolver code:
>>> 
>>> o  The DNS response is DNSSEC validated, regardless of whether
>>>    DNSSSEC validation was requested.
>>> 
>>> o  The result of validation is “Secure".
>>> 
>>> o  The QTYPE is either A or AAAA (Query Type value 1 or 28).
>>> 
>>> o  The OPCODE is QUERY.
>>> 
>>> o  The leftmost label of the original QNAME (the name sent in the
>>>    Question Section in the original query) is either "root-key-
>>>    sentinel-is-ta-<key-tag>" or "root-key-sentinel-not-ta-<key-tag>”.
>>> 
>>> 
>>> (I’ve split the initial condition into two explicit preconditions to be consistent with the rest of the enumerated list)
>>> 
>>> Any objections to this from the WG? I’ll wait for 24 hours and then post this wording as version 11 unless the WG says otherwise
>>> 
> 

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka@isc.org