Re: [homenet] A TOFU approach to naming things in the homenet (with code!)

Toke Høiland-Jørgensen <toke@toke.dk> Mon, 17 April 2017 19:16 UTC

Return-Path: <toke@toke.dk>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 375D5131797 for <homenet@ietfa.amsl.com>; Mon, 17 Apr 2017 12:16:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=toke.dk
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 JSbZHouJIvRA for <homenet@ietfa.amsl.com>; Mon, 17 Apr 2017 12:16:31 -0700 (PDT)
Received: from mail.toke.dk (mail.toke.dk [52.28.52.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 65FE013178C for <homenet@ietf.org>; Mon, 17 Apr 2017 12:16:31 -0700 (PDT)
From: Toke Høiland-Jørgensen <toke@toke.dk>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1492456588; bh=6BD49++wU5V+1qX8/vQquwFB994IS9/yu3Mx2drR14A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=o3/E4ombvmASFG9HLIPaf5Jnst2HlLu3p8+nLIIs9Vgs0F0PVNiDznWZ6DftL0xbZ 8zG5gHR503IzyZjPHK8h7NL47TSjGr713+9HQnG/0t6Exv/KjYYjFE7InfCLB9Ebpy YAUU+uYxGn7455vbDqooNaPaHWEY1QSurYkDuXAAIQ1OwMfNh19jVnGrwTAfu7Qzel cI8TkHdnE12f3zFjy08LJBOsGD0WD7L3WHajcooKtH8l6va/61FnREp7PGtb0xyrpx RQSnuIkTZEUr9CZgOMNkyjXuBcsDLwI/TWSbBDppn6V5KDW2MtL5UYElZSazCoOp4p YSx+W+rDRI7fA==
To: Juliusz Chroboczek <jch@irif.fr>
Cc: homenet@ietf.org
References: <87r30vomax.fsf@alrua-x1> <87r30v3xn5.wl-jch@irif.fr> <87h91rnkgc.fsf@alrua-x1> <7i8tn3xc53.wl-jch@irif.fr> <878tn2odw7.fsf@alrua-x1>
Date: Mon, 17 Apr 2017 21:16:28 +0200
In-Reply-To: <878tn2odw7.fsf@alrua-x1> ("Toke Høiland-Jørgensen"'s message of "Fri, 14 Apr 2017 23:52:40 +0200")
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <87bmruu9o3.fsf@alrua-karlstad>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/ZK015NKCuRDv_I3Hria9sJJcM00>
Subject: Re: [homenet] A TOFU approach to naming things in the homenet (with code!)
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Apr 2017 19:16:33 -0000

Toke Høiland-Jørgensen <toke@toke.dk> writes:

>> Or put it in DNS under dot-home? Since the client already knows how to
>> speak DNS, this avoids yet another coupling between protocols.
>
> Ah yes, that makes sense; since we have a domain that always refers to
> the homenet, just define a name under that that will return PTRs to the
> zones available for registration.

Hmm, turns out RFC6763 already defines a way to do this (in section 11).
r._dns-sd._udp.<domain>. where <domain> is either the in-addr.arpa zone
derived from the network address of a host address, or "local.". I guess
I'll teach the nsregc client to resolve that...

-Toke