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

Toke Høiland-Jørgensen <toke@toke.dk> Sun, 11 June 2017 17: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 CEE52129541 for <homenet@ietfa.amsl.com>; Sun, 11 Jun 2017 10:09:26 -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 WftGsHYA_vXS for <homenet@ietfa.amsl.com>; Sun, 11 Jun 2017 10:09:24 -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 63733129557 for <homenet@ietf.org>; Sun, 11 Jun 2017 10:09:23 -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=1497200959; bh=d26KjHYJxhdT9JcOF39jdmP4T+7YIVW4f9X2DOojg5s=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Y3c1PlSb5d6a0fscM5KUUSBQdHX8Jadgbf3wurzp/rug73cHuJJbLfdttfiUbHBWl dHe1qHGIeoz7jyd/zfTzxvg8msUJsMv0jC6BnlFBUMXcp8LmuWztonFTOW3NkbCu82 5Tzl3aC8YFCfbsLXgFaL+Upz6uK9F+swPQkAPFSQC8S3m7/xtF7v1CVSEGjRfePueP 2ZuoM6tcUu/AE/9idtxvBQ5CPUky0iP6Lmd6Hz1Wr70iVxIUMBsV4bGbxMZL63lfci RXtBHhjC12YsUwsAi30eHeTTBo5Nnl+WvnRqn9eVQG16YEc0kOPsLLvybWi657H7pa q68evoMcT38fA==
To: Ted Lemon <mellon@fugue.com>
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> <87bmruu9o3.fsf@alrua-karlstad> <0CD219A8-3A22-46A7-873B-D6B07C6C04C7@fugue.com> <87fugx267h.fsf@alrua-kau>
Date: Sun, 11 Jun 2017 19:09:19 +0200
In-Reply-To: <87fugx267h.fsf@alrua-kau> ("Toke Høiland-Jørgensen"'s message of "Mon, 24 Apr 2017 17:09:06 +0200")
X-Clacks-Overhead: GNU Terry Pratchett
Message-ID: <87mv9e1mf4.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/nJZUadJdMI1FP0B6wTdp3YYAKYM>
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: Sun, 11 Jun 2017 17:09:27 -0000

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

> 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).

I've added the missing Unbound support, and also wrote a blog post about
nsregd, and how to use ohybridproxy to enable DNS-SD on a routed network
using OpenWrt:

https://blog.tohojo.dk/2017/06/naming-and-service-discovery-on-a-routed-ipv6-network.html

I'm happy to present some of this in Prague if you think that would be
useful :)

-Toke