Re: [DNSOP] new Resource record?

Jared Mauch <jared@puck.nether.net> Wed, 09 December 2015 20:29 UTC

Return-Path: <jared@puck.nether.net>
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 76B831A1B2D for <dnsop@ietfa.amsl.com>; Wed, 9 Dec 2015 12:29:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.212
X-Spam-Level:
X-Spam-Status: No, score=-4.212 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 v1Iun1IawiIa for <dnsop@ietfa.amsl.com>; Wed, 9 Dec 2015 12:29:54 -0800 (PST)
Received: from puck.nether.net (puck.nether.net [204.42.254.5]) by ietfa.amsl.com (Postfix) with ESMTP id 15C0C1A1AF6 for <DNSOP@ietf.org>; Wed, 9 Dec 2015 12:29:54 -0800 (PST)
Received: from [IPv6:2601:401:3:6a00:311a:3c9e:87b0:ac5d] (unknown [IPv6:2601:401:3:6a00:311a:3c9e:87b0:ac5d]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by puck.nether.net (Postfix) with ESMTPSA id 0745F5406C6; Wed, 9 Dec 2015 15:29:52 -0500 (EST)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: text/plain; charset="utf-8"
From: Jared Mauch <jared@puck.nether.net>
In-Reply-To: <005a01d132bf$b8d31a80$2a794f80$@rozanak.com>
Date: Wed, 09 Dec 2015 15:29:51 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <BAF07397-13A0-4E46-AD61-8D5341FBE160@puck.nether.net>
References: <005a01d132bf$b8d31a80$2a794f80$@rozanak.com>
To: Hosnieh Rafiee <ietf@rozanak.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/h8ZbY2l4qSvYlKJNuDSIWe9B-r4>
Cc: DNSOP@ietf.org
Subject: Re: [DNSOP] new Resource record?
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: <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, 09 Dec 2015 20:29:55 -0000

> On Dec 9, 2015, at 3:25 PM, Hosnieh Rafiee <ietf@rozanak.com> wrote:
> 
> Hi,
> 
> Since DNS is a very important service on the internet, for several security
> processes, it can be used as a powerful system. So far, some resource
> records were proposed for certificates, keys and other values.
> 
> I would like to suggest the following format (this is the rough version and
> it is not exact but only giving you an idea that what is the purpose) for a
> new resource record to store the reference information of bounding of
> authentication and authorization where authentication can be based on public
> keys or certificates.
> This means each reference no represents an actual policy template in other
> security system or other services. This means if a certificates bound to
> more than one references, then more than one of this section is added to
> RDATA section of the DNS query. This also should be updatable by the DDNS
> protocol.
> BTW, I skipped the header and other parts of RR and this part is only the
> RDATA section.  
> 
> -----------------------
> |flag| reference no   |
> -----------------------
> | some human readable |
> |       text          |
> -----------------------
> 
> The processes are also simple, when a node query the certificates, DNS
> server also includes this RR if it exists on the DNS server so that when the
> querier retrieves this information, it can query other services for the
> given value to authorize the other host on the network. 
> 
> Is DNSOP a right place for that? I asked DANE and they said it Is not in
> their charter. If not, please tell me where is the right place. If yes,
> please tell me what do you think about that and whether or not you support
> it to draft it.

People have done things similar to this over the years.  I remember software
once distributed UNENCODED over sequenced DNS TXT records.

It seems something like TXT would be the best way to do this, eg:

dig txt 1.255.42.204.in-addr.arpa.

Nothing really stops you from putting a “Seq-01-Base64-Blob” out there.

You might be able to use HINFO for that as well since it’s designed for two
fields already.

- Jared