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

Toke Høiland-Jørgensen <toke@toke.dk> Mon, 24 April 2017 15:09 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 9CCF013160B for <homenet@ietfa.amsl.com>; Mon, 24 Apr 2017 08:09:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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] 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 xxEbBWjXYlku for <homenet@ietfa.amsl.com>; Mon, 24 Apr 2017 08:09: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 964531315ED for <homenet@ietf.org>; Mon, 24 Apr 2017 08:09:13 -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=1493046547; bh=VnAMBz2Wow5xi3bwboHbJ4uWkNPVUQe5LEnzFZQJblM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=h4YsaNFxvspzdxdyBbzrWzWL8CtCqlkAcYL556AjgbS0/g29O7hd4pJ4n3iXESfB6 wJpoaAuxYWFskaQ0QnA2FJJgXJgwgThCrM04HXy8jvY66+hY9Y98FXpQxxJmIiJSXu i0AIrD463/iTpW4dbzmEgQ7iCnbZzQCIxR18Y4HfuqkYbKGgB2YNkN4apT2sAqLrMQ XPtV94VIMAi5t/rvwJvEiw2UCrbBKKRIwKoJocp83zHa34/J8tVl1NkY3bq0qIxFDs QxMteqCsSIr71Huz/iG3ZzDDsYxiITesBy3uEMAfmZDHWd3UXIBq+VhO1mCQLhn4OO 2s0CXY09KqpgA==
To: Ted Lemon <mellon@fugue.com>
Cc: Juliusz Chroboczek <jch@irif.fr>, 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> <87bmruu9o3.fsf@alrua-karlstad> <0CD219A8-3A22-46A7-873B-D6B07C6C04C7@fugue.com>
Date: Mon, 24 Apr 2017 17:09:06 +0200
In-Reply-To: <0CD219A8-3A22-46A7-873B-D6B07C6C04C7@fugue.com> (Ted Lemon's message of "Mon, 17 Apr 2017 15:34:02 -0400")
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <87fugx267h.fsf@alrua-kau>
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/EoVsBwNH20ugosZaB9GKDpOFvs8>
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, 24 Apr 2017 15:09:34 -0000

Ted Lemon <mellon@fugue.com> writes:

> On Apr 17, 2017, at 3:16 PM, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>
>  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...
>
> Cool!   Sorry I didn't mention it earlier—haven't had a chance to try
> the code yet. 

No worries. I added auto-discovery to the client, and improved
configuration for both client and server (and the client will now run
without any configuration with sensible defaults). The server also
supports synthesising reverse PTR records now.

Only thing missing now for my own use case is the ability to add local
records to Unbound (for having a separate internal view while keeping
private addresses out of the global DNS).

> Thanks for GPLing it, BTW.

You're welcome! The GPL is my default license :)

-Toke