Re: [DNSOP] draft-ietf-dnsop-rfc6598-rfc6303-01

Mark Andrews <marka@isc.org> Wed, 20 August 2014 21:48 UTC

Return-Path: <marka@isc.org>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCA031A6EFB for <dnsop@ietfa.amsl.com>; Wed, 20 Aug 2014 14:48:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.569
X-Spam-Level:
X-Spam-Status: No, score=-2.569 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668, SPF_PASS=-0.001] autolearn=ham
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 B1E1hIRU0ppp for <dnsop@ietfa.amsl.com>; Wed, 20 Aug 2014 14:48:52 -0700 (PDT)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A07F1A6F01 for <dnsop@ietf.org>; Wed, 20 Aug 2014 14:48:52 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) by mx.ams1.isc.org (Postfix) with ESMTP id 087141FCB2D; Wed, 20 Aug 2014 21:48:49 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 4FE8E160069; Wed, 20 Aug 2014 22:00:06 +0000 (UTC)
Received: from rock.dv.isc.org (c211-30-183-50.carlnfd1.nsw.optusnet.com.au [211.30.183.50]) by zmx1.isc.org (Postfix) with ESMTPSA id 20AF1160059; Wed, 20 Aug 2014 22:00:06 +0000 (UTC)
Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 70AEA1D1A20E; Thu, 21 Aug 2014 07:48:45 +1000 (EST)
To: Joe Abley <jabley@hopcount.ca>
From: Mark Andrews <marka@isc.org>
References: <20140814001610.3124D1CC688D@rock.dv.isc.org> <86AC48C0-4DFF-4286-A9B1-2A6BE3D14BDC@hopcount.ca> <20140814160453.1C7931CCE03D@rock.dv.isc.org> <7EA38D42-3915-403E-AFE3-C0A8E4A391BF@hopcount.ca> <Prayer.1.3.5.1408201750020.12368@hermes-1.csi.cam.ac.uk> <19AE3CB3-B108-42CB-BAE2-A2F1FBB55EF4@hopcount.ca>
In-reply-to: Your message of "Wed, 20 Aug 2014 15:28:07 -0400." <19AE3CB3-B108-42CB-BAE2-A2F1FBB55EF4@hopcount.ca>
Date: Thu, 21 Aug 2014 07:48:45 +1000
Message-Id: <20140820214845.70AEA1D1A20E@rock.dv.isc.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/dnsop/mTDATL4A5xXl0bCCpVL7I-lFiBw
Cc: cet1@cam.ac.uk, dnsop@ietf.org
Subject: Re: [DNSOP] draft-ietf-dnsop-rfc6598-rfc6303-01
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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, 20 Aug 2014 21:48:54 -0000

In message <19AE3CB3-B108-42CB-BAE2-A2F1FBB55EF4@hopcount.ca>, Joe Abley writes
:
> Hi Chris,
>
> I went quiet on this thread because I was going to try this out in a lab
> before commenting further, but since I haven't done that and you had
> something to say...
>
> On 20 Aug 2014, at 12:50, Chris Thompson <cet1@cam.ac.uk> wrote:
>
> > On Aug 14 2014, Joe Abley wrote:
> >
> > [...]
> >> It seems to me that no delegation is a perfectly reasonable steady
> state,
> >
> > It fails to break the chain of trust. Because a validator can "prove"
> that
> > the names in the putative subzone do not exist, it will consider locally
> > defined content "bogus".
>
> Doesn't this depend on how you do it?
>
> (a) If your resolvers are all configured as authoritative for the zones
> that you want special treatment for (e.g. 239.in-addr.arpa,
> 64.100.in-addr.arpa) I think the expected behaviour is that they will
> return that authoritative data in response to queries.
>
> So, for example, if your BIND9 recursive server has a bunch of "type
> master" or "type slave" zones, stub resolvers will get answers regardless
> of the presence or absence of RRSIGs, secure delegations elsewhere, etc.

You will give answers that validate as bogus in the stub resolver.
A validating stub resolver talking to a ISP's recursive server will
reject the answers from the ISP's server.

> (b) If your resolvers are configured with those special zones as
> "forward" type zones (again, using BIND9 language) and the local
> authoritative servers for those zones are separate, is the behaviour
> different? I had thought it was the same as (a).

The answers received from the forwarder will be rejected as bogus.

> (c) If you are providing service for particular zones locally by
> hijacking the traffic intended for the real servers out on the Internet,
> then it does seem likely that your answers are going to be ignored as
> bogus by a validator.
>
> Since (c) is about the hardest and most unsupportable way of doing this,
> I hadn't thought it much of a problem (the mitigation is "well, don't do
> it like that"). Am I wrong about (a) and (b)?

All down stream validating clients will reject the answers as the reverse
namespace for 100.64/10 is currently configured.  All the above senarios
lead to the answers being rejected.

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