Re: [homenet] Updating DNS [was: How many people have installed the homenet code?]

"Ray Hunter (v6ops)" <v6ops@globis.net> Thu, 12 May 2016 13:41 UTC

Return-Path: <v6ops@globis.net>
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 A34B212D12F for <homenet@ietfa.amsl.com>; Thu, 12 May 2016 06:41:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 SioPboMDB7hW for <homenet@ietfa.amsl.com>; Thu, 12 May 2016 06:41:49 -0700 (PDT)
Received: from globis01.globis.net (092-111-140-212.static.chello.nl [92.111.140.212]) by ietfa.amsl.com (Postfix) with ESMTP id 848F512B00E for <homenet@ietf.org>; Thu, 12 May 2016 06:41:49 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by globis01.globis.net (Postfix) with ESMTP id 6371A4033E; Thu, 12 May 2016 15:41:48 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at globis01.globis.net
Received: from globis01.globis.net ([127.0.0.1]) by localhost (mail.globis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p-fwBF9pnJ1w; Thu, 12 May 2016 15:41:45 +0200 (CEST)
Received: from MacBook-Pro.local (178-84-244-32.dynamic.upc.nl [178.84.244.32]) (Authenticated sender: v6ops@globis.net) by globis01.globis.net (Postfix) with ESMTPA id 1C58C402E4; Thu, 12 May 2016 15:41:45 +0200 (CEST)
Message-ID: <57348817.1090200@globis.net>
Date: Thu, 12 May 2016 15:41:43 +0200
From: "Ray Hunter (v6ops)" <v6ops@globis.net>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
References: <6E709688-414A-4AFB-AEAE-56BAE0469583@coote.org> <87lh44fff7.wl-jch@pps.univ-paris-diderot.fr> <48A9C52C-85BC-4123-A3ED-FB269AD03126@iki.fi> <87eg9wfctc.wl-jch@pps.univ-paris-diderot.fr> <CAPt1N1nq1CTMmQHFQXnaFY73SyRPKpWagiMVfrHODakbeT2Wxw@mail.gmail.com> <87a8kj3r7p.wl-jch@pps.univ-paris-diderot.fr> <CAPt1N1nN+ih8xpBV_-T_JaGtbBG6d5zYqW==tph8yN_UB34NNw@mail.gmail.com> <56DB4264-1769-443A-86F2-BB0BE0ED9693@ecs.soton.ac.uk> <EMEW3|87dc38b1e390496e02166dafe2490d8as44D0U03tjc|ecs.soton.ac.uk|56DB4264-1769-443A-86F2-BB0BE0ED9693@ecs.soton.ac.uk> <57333B3F.7000009@globis.net> <CC759790-4F9B-47B8-A42C-A85F78AC9773@jisc.ac.uk> <57335AB6.8060305@globis.net> <87mvnwh81u.wl-jch@pps.univ-paris-diderot.fr> <CAPt1N1nu98pXdDzVgZ2yW7xe8mwA=O+zmoGS8XLs_NLbNUaKFQ@mail.gmail.com> <57337274.1040000@globis.net> <CAPt1N1=mVBM-Dyg50eAv4Lz4XK1Hfe1SgHH5osR9fuhJhc0DWQ@mail.gmail.com> <57344249.8070907@globis.net> <874ma3s9pc.wl-jch@pps.univ-paris-diderot.fr>
In-Reply-To: <874ma3s9pc.wl-jch@pps.univ-paris-diderot.fr>
Content-Type: multipart/alternative; boundary="------------060503020408060808060100"
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/JPoAjzID6k2AgxfMAq_azojP4DE>
Cc: "homenet@ietf.org" <homenet@ietf.org>
Subject: Re: [homenet] Updating DNS [was: How many people have installed the homenet code?]
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.17
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: Thu, 12 May 2016 13:41:51 -0000

> Juliusz Chroboczek <mailto:jch@pps.univ-paris-diderot.fr>
> 12 May 2016 15:10
> If I'm reading you correctly, Ray, you're promoting unstable naming.
Not promoting. Looking at the consequences.
>    If
> I have two routers called trurl and pirx in my network, then my printer
> will becalled diablo630.pirx.home whe pirx is up, diablo630.trurl.home
> when trurl is up, and either I reconfigure all of my hosts every time
> I swap a router, or rely on the DNS search list being correct?
>
>> We have multiple independent address spaces (ULA per router + GUA per
>> provider),
actually I was thinking more along the lines of the printer being called

diablo630.default_zone.ula1.home (ULA1)

and

diablo630.default_zone.ula2.home (ULA2 if it exists)

and

diablo630.my_isp1.com (GUA1)

and

diablo630.my_isp2.net (GUA2)


simultaneously.

The DNSSL would indeed be updated automatically when the homenet 
autoconfigures, and advertised by RA.

The name registration and resolution for the various namespaces could 
run independently.
> No, we have a GUA per provider, and *optionally* a single ULA for the
> whole Homenet:
>
>        An HNCP router SHOULD create a ULA prefix if there is no other IPv6
>        prefix with a preferred time greater than 0 in the network.  It MAY
>        also do so if there are other delegated IPv6 prefixes, but none of
>        which is locally generated [...]  In case multiple locally generated
>        ULA prefixes are present, only the one published by the node with
>        the greatest node identifier is kept
Thanks for that explanation.
>> If a new router is added, a new ULA is added,
>
> No, that's not the case.
What happens if that new router has been booted stand-alone (so it 
creates its own ULA), and then joins the Homenet by being plugged in, 
and has a higher node identifier?

Shouldn't this be a voting mechanism to retain the "most popular" 
existing ULA?
>> If a router is removed or dies, the ULA prefix expires
>
> Nope.  If a router dies, any ULA should remain stable, even if it's the
> router who originally generated the ULA that dies:
>
>     When a new ULA prefix is created, the prefix is selected [...] using
>     the last non-deprecated ULA prefix
>
> That's the whole point of using a ULA.
Well even then you have the corner case of a split, stable operation, 
remerge, where one of the two ULA prefixes will disappear.

If the namespace relies in any way on the ULA, it'll change if the ULA 
changes.

If the namespace doesn't rely on the ULA, we'll likely get hit by the 
same (security) problems as mobile devices moving between disjoint 
.local networks.

Or else we have to manually configure a "Homenet root name"/ "Homenet 
identifier"?

Thoughts?

-- 
regards,
RayH
<https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>