Re: [DNSOP] I-D Action: draft-ietf-dnsop-extended-error-16.txt

Puneet Sood <puneets@google.com> Thu, 14 May 2020 18:52 UTC

Return-Path: <puneets@google.com>
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 2CF563A0412 for <dnsop@ietfa.amsl.com>; Thu, 14 May 2020 11:52:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 Qp_-z9M_RXcr for <dnsop@ietfa.amsl.com>; Thu, 14 May 2020 11:52:08 -0700 (PDT)
Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46A273A0405 for <dnsop@ietf.org>; Thu, 14 May 2020 11:52:08 -0700 (PDT)
Received: by mail-vs1-xe29.google.com with SMTP id y13so2613460vsk.8 for <dnsop@ietf.org>; Thu, 14 May 2020 11:52:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=wk6YuKXQra2c7jglm+Ieolp7lJbJbbJb39oBFtufNRk=; b=RaG8Uon99GtqUpbwAmtcMxDT67g382zf/ZBLLnfszJP+cy7PdqE15xcDelkBjA5SK1 gp+ba70gbuXK1Z5afucLMSnahFEnwraKUqyrxLhmyVNcu/KyZ45HrZ7lrMvOCcCY6Z7E hDcRcxQHm1RAtknZ9JZsNy6alm8jakjDYK62H8JUgOyOKsdqp3DpPI4MTnrn8QY86+M2 WmxIkhp8pXJrllMS1C6Chmvg3tmmp9gT+uTgrcr9uXoD5bjhzLSq+pOVKdQ7xZ8J/9Nq J77FdekBUFPp1xN0DGMUbNWiVjweMG9OdDhelL+irA4AyJRAbW5PiKSeYgobbNlWBBC0 M1aQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wk6YuKXQra2c7jglm+Ieolp7lJbJbbJb39oBFtufNRk=; b=EySVfwA2fYCuT/4F7bB5XyykuO+EogOAR6uoMpAjQpGlWumaWFCopz1I2xkbkp8apE 5PXwwtFOz8wf0CmLplHpA8Ne5HSua4fNTa2JF5Tc5s8XgtlZTWXiZVdzawses8VMaqXE WnwTBMD4gOjRp/aMGqzIvc3DVNwSuNyCGMYZGZyEzW5HN9+d7ckJWreFxZnTYOVUIuCF pFNcHv2JMs+rM+LSSs1KVUopsNkS3Z46XWKqkY3+vzqDUBrw0bSOfms5IPKprZ61I4XS 0VFhO+urQIWEJd5e+UD4a/9mif/ECLvZhfUIHB7KuNuyfs4V4dadiRMK1ZvqFncfho5t fMWg==
X-Gm-Message-State: AOAM533DxoQicEAUnSq/bCkR8gz+dsd5VeMoW8UEa2GATOyZS8LJSnj8 pRJfHH/bZua/OYtCTkRsGzqwORhYHgqVTF4mCgy2RA==
X-Google-Smtp-Source: ABdhPJxuvK0Dn72lB45zIDL0HbN2uGRdICYtI+W+l5S/Em6zVoeX9qxIRpGUTtRWdkia80vK6oT7jGZwRgDUh9fwbQ8=
X-Received: by 2002:a67:c482:: with SMTP id d2mr4871886vsk.37.1589482326998; Thu, 14 May 2020 11:52:06 -0700 (PDT)
MIME-Version: 1.0
References: <158871188730.7528.4018207019268407373@ietfa.amsl.com> <CA+9_gVtG9bxoj3czW7wgcHoRq7e8B3VyoKd+5-Ba4wbZ_LDFuA@mail.gmail.com> <98FA896F-5034-40CE-8B25-15DA230FBBB8@isc.org>
In-Reply-To: <98FA896F-5034-40CE-8B25-15DA230FBBB8@isc.org>
From: Puneet Sood <puneets@google.com>
Date: Thu, 14 May 2020 14:51:55 -0400
Message-ID: <CA+9_gVuxk0dQ76AxsVeUuNOKPsPSGFZbnCuu2A4FaiZW27kzdA@mail.gmail.com>
To: Mark Andrews <marka@isc.org>, IETF DNSOP WG <dnsop@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007aeb4c05a5a03185"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/THLr0WdFi9kO1C-LPQ-QjEjsLJ8>
Subject: Re: [DNSOP] I-D Action: draft-ietf-dnsop-extended-error-16.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 14 May 2020 18:52:12 -0000

On Thu, May 14, 2020 at 2:09 AM Mark Andrews <marka@isc.org> wrote:

>
>
> > On 14 May 2020, at 15:48, Puneet Sood <puneets=
> 40google.com@dmarc.ietf.org> wrote:
> >
> > Google Public DNS is planning to implement this draft in responses
> > from us (recursive resolver) to clients.
> >
> > *** Question: When can we expect to have an EDNS option code assigned
> > for the EDE option?
>
> It’s already assigned. See the IANA registry.  The value is 15.
>
> > *** Request for clarification on Section 3. Extended DNS Error Processing
> > The text in this section (and in the introduction) implies that a
> > response with a NOERROR RCODE may contain an EDE option.
> > "Receivers MUST be able to accept EDE codes and EXTRA-TEXT in
> > all messages, including those with a NOERROR RCODE, but need not act
> > on them"
> >
> > Scenario: Response has a NOERROR RCODE and contains some response RRs.
> > If the client sent an EDE option and the server supports EDE, is the
> > expectation that the server should always include the EDE option?
>
> No.  While not explicitly specified a server would only include a EDE
> if it have something extended to report.
>
> There is also no requirement for there to be a EDE in the request
> before sending a EDE in a response.  If EDE was expected to be in the
> request then there would have been a request format specified.  All
> EDNS clients should handle unknown EDNS options in responses as that
> is a requirement of the base EDNS specification.
>

Thanks for clarifying this. Makes the resolver response logic much simpler.
I had incorrectly remembered that the client had to specify this option in
the request.

-Puneet


> > If the server includes an EDE option in the response, what is the
> > right EDE code to use? EDE code 0 [other] seems the closest but it
>
> > still implies an error. Also the description for it suggests including
> > EXTRA-TEXT which would not be useful.
> >
> > If the server does not include an EDE option in the response, the
> > response looks A-OK to the client. However if the client is attempting
> > to detect EDE option support on the server it might incorrectly assume
> > the server does not support EDE.
>
> There is no reliable way to determine if a server supports EDE.  There is
> no requirement to return any given EDE.  Which EDE return (if any) is up to
> the server developer.
>
> > To simplify the NOERROR scenario, can we have a no error EDE code
> > similar to the NOERROR RCODE? With this a server can include an EDE
> > option in all responses to queries containing an EDE option.
> >
> > Thanks,
> > Puneet
> >
> >
> > On Tue, May 5, 2020 at 4:52 PM <internet-drafts@ietf.org> wrote:
> >>
> >>
> >> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
> >> This draft is a work item of the Domain Name System Operations WG of
> the IETF.
> >>
> >>        Title           : Extended DNS Errors
> >>        Authors         : Warren Kumari
> >>                          Evan Hunt
> >>                          Roy Arends
> >>                          Wes Hardaker
> >>                          David C Lawrence
> >>        Filename        : draft-ietf-dnsop-extended-error-16.txt
> >>        Pages           : 15
> >>        Date            : 2020-05-05
> >>
> >> Abstract:
> >>   This document defines an extensible method to return additional
> >>   information about the cause of DNS errors.  Though created primarily
> >>   to extend SERVFAIL to provide additional information about the cause
> >>   of DNS and DNSSEC failures, the Extended DNS Errors option defined in
> >>   this document allows all response types to contain extended error
> >>   information.  Extended DNS Error information does not change the
> >>   processing of RCODEs.
> >>
> >>
> >> The IETF datatracker status page for this draft is:
> >> https://datatracker.ietf.org/doc/draft-ietf-dnsop-extended-error/
> >>
> >> There are also htmlized versions available at:
> >> https://tools.ietf.org/html/draft-ietf-dnsop-extended-error-16
> >>
> https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-extended-error-16
> >>
> >> A diff from the previous version is available at:
> >> https://www.ietf.org/rfcdiff?url2=draft-ietf-dnsop-extended-error-16
> >>
> >>
> >> Please note that it may take a couple of minutes from the time of
> submission
> >> until the htmlized version and diff are available at tools.ietf.org.
> >>
> >> Internet-Drafts are also available by anonymous FTP at:
> >> ftp://ftp.ietf.org/internet-drafts/
> >>
> >>
> >> _______________________________________________
> >> DNSOP mailing list
> >> DNSOP@ietf.org
> >> https://www.ietf.org/mailman/listinfo/dnsop
> >
> > _______________________________________________
> > DNSOP mailing list
> > DNSOP@ietf.org
> > https://www.ietf.org/mailman/listinfo/dnsop
>
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742 <+61%202%209871%204742>              INTERNET:
> marka@isc.org
>
>