Re: [DNSOP] Caching of negative zone (non-authoritative) responses

Stephane Bortzmeyer <bortzmeyer@nic.fr> Mon, 22 July 2019 21:18 UTC

Return-Path: <stephane@laperouse.bortzmeyer.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 E98CB1200B6 for <dnsop@ietfa.amsl.com>; Mon, 22 Jul 2019 14:18:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level:
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no 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 3a5r90vTDloH for <dnsop@ietfa.amsl.com>; Mon, 22 Jul 2019 14:18:29 -0700 (PDT)
Received: from ayla.bortzmeyer.org (ayla.bortzmeyer.org [92.243.4.211]) (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 4F9AB1200A3 for <dnsop@ietf.org>; Mon, 22 Jul 2019 14:18:29 -0700 (PDT)
Received: by ayla.bortzmeyer.org (Postfix, from userid 10) id 997CAA052F; Mon, 22 Jul 2019 23:18:25 +0200 (CEST)
Received: by godin (Postfix, from userid 1000) id 71C9BEC0B0E; Mon, 22 Jul 2019 23:15:45 +0200 (CEST)
Date: Mon, 22 Jul 2019 17:15:45 -0400
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: "Michael J. Sheldon" <msheldon@godaddy.com>
Cc: Ted Lemon <mellon@fugue.com>, "dnsop@ietf.org" <dnsop@ietf.org>
Message-ID: <20190722211545.GA6127@laperouse.bortzmeyer.org>
References: <BYAPR02MB51900835E25A720BB9BF23C8DBF60@BYAPR02MB5190.namprd02.prod.outlook.com> <4D5516C6-924C-4A88-8EC2-C79DA2B48293@fugue.com> <901d1ddf-bd6a-4c83-4ec4-0c8b5f47d48b@godaddy.com> <B2A16703-4AF4-4CA5-843D-3C3E09866225@fugue.com> <ff45e5bd-eab0-06c0-32c2-3f5dc5fc59da@godaddy.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <ff45e5bd-eab0-06c0-32c2-3f5dc5fc59da@godaddy.com>
X-Transport: UUCP rules
X-Operating-System: Ubuntu 18.04 (bionic)
X-Charlie: Je suis Charlie
User-Agent: Mutt/1.9.4 (2018-02-28)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/QGUFWaH9LEGfVVH44bYeIMOsZpg>
Subject: Re: [DNSOP] Caching of negative zone (non-authoritative) responses
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: Mon, 22 Jul 2019 21:18:31 -0000

On Mon, Jul 08, 2019 at 05:27:21PM +0000,
 Michael J. Sheldon <msheldon@godaddy.com> wrote 
 a message of 23 lines which said:

> And it still leaves the issue that recursives should not just keep
> hammering the lame delegations when they've gotten a REFUSED
> response.

Sorry for being late in the discussion but
draft-ietf-dnsop-extended-error-06 has a code to make REFUSED crystal-clear:

4.4.1.  REFUSED Extended DNS Error Code 1 - Lame

   An authoritative server that receives a query (with the RD bit clear)
   for a domain for which it is not authoritative SHOULD include this
   EDE code in the SERVFAIL response.  A resolver that receives a query
   (with the RD bit clear) SHOULD include this EDE code in the REFUSED
   response.  Implementations should set the R flag in this case
   (another nameserver or resolver might not be lame).