Re: [dnsext] Fwd: RFC 2308 & RFC 4035

Mark Andrews <marka@isc.org> Sat, 26 February 2011 00:31 UTC

Return-Path: <marka@isc.org>
X-Original-To: dnsext@core3.amsl.com
Delivered-To: dnsext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 540B83A6A94 for <dnsext@core3.amsl.com>; Fri, 25 Feb 2011 16:31:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[AWL=0.622, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WcqGKtbXr0pq for <dnsext@core3.amsl.com>; Fri, 25 Feb 2011 16:31:31 -0800 (PST)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) by core3.amsl.com (Postfix) with ESMTP id B7CF23A6A92 for <dnsext@ietf.org>; Fri, 25 Feb 2011 16:31:30 -0800 (PST)
Received: from bikeshed.isc.org (bikeshed.isc.org [IPv6:2001:4f8:3:d::19]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "bikeshed.isc.org", Issuer "ISC CA" (verified OK)) by mx.pao1.isc.org (Postfix) with ESMTPS id 05D16C9421; Sat, 26 Feb 2011 00:32:17 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:ea06:88ff:fef3:4f9c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bikeshed.isc.org (Postfix) with ESMTPSA id 7A936216C22; Sat, 26 Feb 2011 00:32:16 +0000 (UTC) (envelope-from marka@isc.org)
Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (Postfix) with ESMTP id 0E1BFAFA28D; Sat, 26 Feb 2011 11:32:14 +1100 (EST)
To: Edward Lewis <Ed.Lewis@neustar.biz>
From: Mark Andrews <marka@isc.org>
References: <a06240805c98db61801c2@[10.31.200.114]>
In-reply-to: Your message of "Fri, 25 Feb 2011 14:41:15 CDT." <a06240805c98db61801c2@[10.31.200.114]>
Date: Sat, 26 Feb 2011 11:32:13 +1100
Message-Id: <20110226003214.0E1BFAFA28D@drugs.dv.isc.org>
Cc: dnsext@ietf.org
Subject: Re: [dnsext] Fwd: RFC 2308 & RFC 4035
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 26 Feb 2011 00:31:32 -0000

In message <a06240805c98db61801c2@[10.31.200.114]>, Edward Lewis writes:
> I have a question referring to two sections in two RFCs, prompted by 
> the resimprove draft.
> 
> RFC 4035:
> 5.4.  Authenticated Denial of Existence
> ...
>     o  If the requested RR name matches the owner name of an
>        authenticated NSEC RR, then the NSEC RR's type bit map field lists
>        all RR types present at that owner name, and a resolver can prove
>        that the requested RR type does not exist by checking for the RR
>        type in the bit map.  ...
> 
> And in RFC 2308:
> 5 - Caching Negative Answers
> ...
>     A negative answer that resulted from a no data error (NODATA) should
>     be cached such that it can be retrieved and returned in response to
>     another query for the same <QNAME, QTYPE, QCLASS> that resulted in
>     the cached negative response.
> 
> Let's aay this happens:
> 
> at 10am a cache receives a response to a query for example.tld./IN/A that say
> s
> 
> example.tld.   3600    NSEC3   a.example.tld.  SOA NS DNSKEY RRSIG NSEC
> 
> at 10:15am the cache gets a query for example.tld./IN/AAAA.
> 
> Should the cache rely with a NoData response or should it try to 
> query for the AAAA?
> 
> If the answer to the previous is "it should rely on the cached NSEC:" 
> What if I said that at 10:10am, the authority was updated with a new 
> zone that had an AAAA RRset at the apex?

Nothing worse than having asked for the AAAA record at 10:00 am.
The zone administrator has to assume that AAAA queries will have
been made prior to adding the AAAA records.  This will almost
certainly be the case if there were A queries.

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