Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-serve-stale-03.txt

Paul Wouters <paul@nohats.ca> Wed, 06 March 2019 02:55 UTC

Return-Path: <paul@nohats.ca>
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 B55D212F1AB for <dnsop@ietfa.amsl.com>; Tue, 5 Mar 2019 18:55:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 GtRufDyYcWsi for <dnsop@ietfa.amsl.com>; Tue, 5 Mar 2019 18:55:09 -0800 (PST)
Received: from mx.nohats.ca (mx.nohats.ca [IPv6:2a03:6000:1004:1::68]) (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 1C7791277CC for <dnsop@ietf.org>; Tue, 5 Mar 2019 18:55:09 -0800 (PST)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 44DdfL08mQz35K; Wed, 6 Mar 2019 03:55:06 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1551840906; bh=fjs+73000PswQZE/tfHsFvlr0iNXcMSJGNBUeaQcN04=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=W7WciKUi+m24AdN35wInYMmpl/OR2llkHh58e3GKc0Eaage8odW0H30izsUruFQF8 ohfJPl47ZvRfiwxQEsfYfDTXi6UhmuqVn9b0kIhxr92O9mTANxyfnIKLklDdn9+7Ai 1j2SPYG9FkeoMe82HIEkTMoSCG84GiIL2lvD0XaE=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id wW20SB8HRqia; Wed, 6 Mar 2019 03:55:05 +0100 (CET)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Wed, 6 Mar 2019 03:55:04 +0100 (CET)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 196A939A5BC; Tue, 5 Mar 2019 21:55:04 -0500 (EST)
DKIM-Filter: OpenDKIM Filter v2.11.0 bofh.nohats.ca 196A939A5BC
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 0E7A1411602B; Tue, 5 Mar 2019 21:55:04 -0500 (EST)
Date: Tue, 5 Mar 2019 21:55:04 -0500 (EST)
From: Paul Wouters <paul@nohats.ca>
To: Dave Lawrence <tale@dd.org>
cc: dnsop <dnsop@ietf.org>
In-Reply-To: <23679.9798.678631.923122@gro.dd.org>
Message-ID: <alpine.LRH.2.21.1903052152110.15803@bofh.nohats.ca>
References: <155094804613.28045.8648150477440044197@ietfa.amsl.com> <CA+9_gVscCzr0S8A0Z23q0V1B+BZeLtDoZRSKyEJDPZ3P=KT-tw@mail.gmail.com> <CAL9jLaYo5JH6vf+djEn0O=YGhLV2AkytMg_eKQmWn=Pma5yBFQ@mail.gmail.com> <4253851.Zqd2zPpPcC@linux-9daj> <92355508-D5AC-46DC-8FF5-C1C4155601D8@isc.org> <alpine.LRH.2.21.1903042240330.32161@bofh.nohats.ca> <23678.40176.492174.37630@gro.dd.org> <3E7AF476-0989-4FA8-8186-F5AAFC87317A@icann.org> <alpine.LRH.2.21.1903051202360.1124@bofh.nohats.ca> <23679.9798.678631.923122@gro.dd.org>
User-Agent: Alpine 2.21 (LRH 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/UQeVCf7inQZYFaS3l4iFSD9UuBM>
Subject: Re: [DNSOP] [Ext] I-D Action: draft-ietf-dnsop-serve-stale-03.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: Wed, 06 Mar 2019 02:55:12 -0000

On Tue, 5 Mar 2019, Dave Lawrence wrote:

> I can sort of see how someone might infer from "It is predicated on
> the observation that authoritative server unavailability can cause
> outages ..." that it means this whole idea is constrained to DDoS, and
> presumably you would include as well other network and server outages
> not caused by DDoS.  It doesn't only mean that though.  The intention
> is that this applies to any inability to get a proper authoritative
> response, one which has AA set in a protocol-meaningful way.
>
> This can be edited to be clearer, perhaps as simply as changing
> "authoritative server unavailability" to "authoritative answer
> unavailability".  We'd be happy to consider alternative text.

Ok, then that needs to be clarified in the draft. And you should discuss
exactly which kind of failures are valid for extending the TTL and which
are not and which should still try another auth server.

> ServFail is a clear signal that something is going wrong with the
> authoritative server itself has something going wrong.  If you send a
> ServFail then AA is completely irrelevant.
>
> REFUSED is slightly murkier as to its exact meaning, thanks to
> overloading, but in its most commonly seen usage for lameness
> indicates a clear problem with the delegation.  Even in its other use
> cases, notably an EDNS Client Subnet error or an actual "I am
> authoritative for the name but administratively denying your
> resolution of it", I submit that if the resolver has a stale answer
> then serving it is reasonable.  In that administrative denial case
> it'd be better to issue NXDomain anyway, which is exactly what split
> horizon authorities do.
>
> Other lesser seen rcodes are largely similar in not indicating
> anything at all about the legitimacy of the name and whatever data you
> might have previously associated with it.  Only the dynamic update
> rcodes come close to being relevant, but they are not part of the
> resolution process covered by serve-stale.
>
> Despite the unfortunate RFC 1035 nomenclature of NXDomain as "Name
> Error" it is called out explicitly because it isn't really an error,
> not in the database lookup sense.  There's no way of knowing whether
> the NXDomain is happening because of operator fault or the far more
> likely case that it just doesn't exist.  That's why it is called out
> separately in the doc, with an explicit note about why it has to be
> treated as replacing any stale data associated with the name.

So put some text similar to this in the draft.

Paul