Re: [DNSOP] Prefixed name spaces and DANE client TLSA

Ray Bellis <ray@bellis.me.uk> Wed, 13 January 2016 17:22 UTC

Return-Path: <ray@bellis.me.uk>
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 D6A151B2AE4 for <dnsop@ietfa.amsl.com>; Wed, 13 Jan 2016 09:22:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, URI_TRY_3LD=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 EWZJWQj7F4MQ for <dnsop@ietfa.amsl.com>; Wed, 13 Jan 2016 09:22:47 -0800 (PST)
Received: from hydrogen.portfast.net (hydrogen.portfast.net [188.246.200.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0D69E1B2C6C for <dnsop@ietf.org>; Wed, 13 Jan 2016 09:22:47 -0800 (PST)
Received: from [46.227.151.81] (port=62909 helo=rays-mbp.local) by hydrogen.portfast.net ([188.246.200.2]:465) with esmtpsa (fixed_plain:ray@bellis.me.uk) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1aJP87-0008Qx-2Q (Exim 4.72) for dnsop@ietf.org (return-path <ray@bellis.me.uk>); Wed, 13 Jan 2016 17:22:43 +0000
To: dnsop@ietf.org
References: <20160113055505.54822.qmail@ary.lan> <alpine.LSU.2.00.1601131015380.8365@hermes-2.csi.cam.ac.uk> <CAHPuVdVgjj00NE6VasxE4oMKXuqCq5WaxUXVfCKzdiZXN_hxFQ@mail.gmail.com> <alpine.OSX.2.11.1601131044100.9959@ary.lan>
From: Ray Bellis <ray@bellis.me.uk>
Message-ID: <569687E5.9070609@bellis.me.uk>
Date: Wed, 13 Jan 2016 17:22:45 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <alpine.OSX.2.11.1601131044100.9959@ary.lan>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/XPuuB31G-g3cG66IQ1mZ4f9QzVs>
Subject: Re: [DNSOP] Prefixed name spaces and DANE client TLSA
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, 13 Jan 2016 17:22:49 -0000


On 13/01/2016 17:12, John R Levine wrote:

> Here's a concrete example.  My laptop is named mypc.example.com. Because
> I am a forward thinking guy, I send a DANE-verified client cert whenever
> I connect for submission, POP, IMAP, or jabber, and because I'm still
> lazy, I use the same certificate for all of them.  The DNS records to
> tell the world about that are:
> 
>  $ORIGIN mypc.example.com
>  _submission._client._tcp IN TLSA ... cert stuff ...
>  _imap._client._tcp       IN CNAME _submission._client._tcp
>  _imaps._client._tcp      IN CNAME _submission._client._tcp
>  _pop3._client._tcp       IN CNAME _submission._client._tcp
>  _pop3s._client._tcp      IN CNAME _submission._client._tcp
>  _xmpp-client._client._tcp IN CNAME _submission._client._tcp
> 
> How would you do it?

Personally, I wouldn't use those owner names, as that's inconsistent
with _tcp being associated with SRV usage, with the previous label being
one from the IANA port registry.

I quite like the idea of _client._<service>._<proto>, though.

Thinking more though, I actually prefer _<service>._<proto>._client.

The use of _client on the right-hand side would allow this to fit in
Dave Crocker's "underscore registry" as the "most significant label",
with everything to the left of that borrowed from SRV.

Ray