Re: [DNSOP] why classes are useless, was New Version Notification for draft-sullivan-dns-class-useless-01.txt

Michael StJohns <msj@nthpermutation.com> Fri, 18 March 2016 22:44 UTC

Return-Path: <msj@nthpermutation.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 931F212D5AB for <dnsop@ietfa.amsl.com>; Fri, 18 Mar 2016 15:44:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=nthpermutation-com.20150623.gappssmtp.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 uaOSe1-AioOt for <dnsop@ietfa.amsl.com>; Fri, 18 Mar 2016 15:44:03 -0700 (PDT)
Received: from mail-qg0-x234.google.com (mail-qg0-x234.google.com [IPv6:2607:f8b0:400d:c04::234]) (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 6163B12D58D for <dnsop@ietf.org>; Fri, 18 Mar 2016 15:44:03 -0700 (PDT)
Received: by mail-qg0-x234.google.com with SMTP id y89so113445084qge.2 for <dnsop@ietf.org>; Fri, 18 Mar 2016 15:44:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nthpermutation-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=GodLlZJ8g7OSbYXNtrWiOt/tGCBePaYfHLf2xSqbZaY=; b=o8qdI6PDtjJJYIKXWsWuSK9yQBunA/2nmbjVExM3pYqR8ojqyE6BfF7PRNl/ltfZs4 NUhsf6lWrn71zTpR88hs5Yxs79UUqG4M3gtIoLcsCmjJZNkY3mv2zkiAyRWhFWK15N/D PD/eXXfUo3kDbCKxPeGWjoazmfJKesorlJT6v78PV726ocF60vqqVZa6CN9Li2LCR3eR 9uE9wD7p6MBk/XBZs+XEYAV9FWc4NB9X99UiGY8bd6iwZD5cuhMvVHBb/o8HkVg9AljK K9QPqe4F3s+UOwULroTL5Dlp4e/uKGzf6qVXs6n+KkAli6gCRG/AUsw56/bUgmXhg2fT qhfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=GodLlZJ8g7OSbYXNtrWiOt/tGCBePaYfHLf2xSqbZaY=; b=DhKaZmedleyUJ4cby+nT0iFgG9im1LExhUjD/ZMmyDxG80dpd+yW6yutV4Sg+GMLCc sHrwakHrWqAPhsQzJxtg4DPTHPGsbxEnnVgmDWzRlyXOh0ZPj+yQGtb/0vYkNQ2qSVHD 8FZKfIJ9JN8W1ZvUd8yr+GSL2tDmrkC4phiQ9/a/eLW4f2ICKOR+s5c9svHum12CIo2M ulZOT+2ecQcYJrcVH4rROBTft3vBI2UAeeUTFmU4dHVTBOF+jySn0JyEm231WE8tk/Nx ccGEv5Qua7UwCKOZMng0bp2xz8wXJflij6BlyXFfJE5dOYozLAphqOvr4D1/mC3Oxriv 4yJw==
X-Gm-Message-State: AD7BkJJAt0F0SDnV5TCTpy51TnMruoPmlCwHJUfqTcUvAq/b1/VEaOB+CkI1NM9fRll8/A==
X-Received: by 10.140.142.138 with SMTP id 132mr12725540qho.77.1458341042336; Fri, 18 Mar 2016 15:44:02 -0700 (PDT)
Received: from [192.168.1.113] (c-69-255-115-150.hsd1.md.comcast.net. [69.255.115.150]) by smtp.gmail.com with ESMTPSA id j67sm6938298qgj.35.2016.03.18.15.44.01 for <dnsop@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Mar 2016 15:44:01 -0700 (PDT)
To: dnsop@ietf.org
References: <20160318215357.35163.qmail@ary.lan>
From: Michael StJohns <msj@nthpermutation.com>
Message-ID: <56EC84DC.3030302@nthpermutation.com>
Date: Fri, 18 Mar 2016 18:44:44 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <20160318215357.35163.qmail@ary.lan>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/MrH3CNdejeJ-4aJVrmNjB1QjXCo>
Subject: Re: [DNSOP] why classes are useless, was New Version Notification for draft-sullivan-dns-class-useless-01.txt
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 18 Mar 2016 22:44:05 -0000

On 3/18/2016 5:53 PM, John Levine wrote:
>> what's stopping a second $class from working is STD 13, half of which
>> says that zones and rrsets span classes, and half of which says that
>> each class has its own zone cut hierarchy. we would have to decide, and
>> revise.
> If we spent a year arguing about what STD 13 should really have said
> about classes, there's two places we could end up:
>
> 1) There's one name tree, and classes provide variant meanings
>     of some RRTYPEs.
>
> b) Every class has a separate name tree.
>
> In the first case, classes buy you nothing.  If you want RRTYPEs that
> mean something different from existing ones, define some new ones.
> It's not like we're in any danger of running out of RRTYPE code
> points.  (We can argue about how hard it really is to implement new
> RRTYPEs, but I doubt the answer would change much with or without
> classes.)

Disclaimer:  I am NOT arguing to retain classes - especially as CLASSes.

For your case (1) above, I occasionally thought about trying to write an 
ID which redefined classes as a way of expanding the search terms for 
DNS to allow differentiation for example between "internal" and 
"external" address records attached to a name.  Or "preferred" and 
"non-preferred"  or "virtual" and "non-virtual" addresses.  It mostly 
didn't go anywhere.

DNS only has name/type/class in the query tuple.   I've sometimes wished 
for the ability to say "I only want a few of the records at this name 
with this type and here's how you figure out which ones" - especially to 
keep the responses within the UDP sizes.    The class field might have 
been a useful way to do that, especially for things related to keys and 
signatures.

Mike


>
> In the latter case, classes still buy you nothing.  Set up some root
> servers for your new name tree and you're done.  I suppose one might
> argue that gives an unfair advantage to the IN class and we should
> instead have the existing roots serve different answers to queries for
> different classes, but good luck with that.
>
> Deprecate this vermiform appendix and be done with it.
>
> R's,
> John
>
> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop