Re: [homenet] how to bookmark .lan, /.home, /.my-homenet when not home

Kerry Lynn <kerlyn@ieee.org> Tue, 31 July 2012 15:59 UTC

Return-Path: <kerlyn2001@gmail.com>
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 1196421F8710 for <homenet@ietfa.amsl.com>; Tue, 31 Jul 2012 08:59:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.851
X-Spam-Level:
X-Spam-Status: No, score=-101.851 tagged_above=-999 required=5 tests=[AWL=0.526, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZJBdlafUFJzP for <homenet@ietfa.amsl.com>; Tue, 31 Jul 2012 08:59:49 -0700 (PDT)
Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by ietfa.amsl.com (Postfix) with ESMTP id CB19821F870E for <homenet@ietf.org>; Tue, 31 Jul 2012 08:59:48 -0700 (PDT)
Received: by lbbgo11 with SMTP id go11so4423945lbb.31 for <homenet@ietf.org>; Tue, 31 Jul 2012 08:59:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=6qnUcgdGPRHgIBUjo0iGFoDaIm6NNebYsCqdHjx7oeA=; b=c4o74roStV3IC+5FUkpNhBG72z+8vYvtUZdpTzQ1lAx0ETfL9nlZysDGQx4lE2Jz3t fhpplNBLhFk17D5I1CoA5EGFkfC9/NhzQEwG3wLru2V/QRv4PvhmNwmQ7t721qLxeKrQ /f6QoREWMJneeijlMTj3pgjdkoGTP1B1oOVOuwr8tm5lUu0n2QUl7qDG7hu8eUGJG8ro Y8zg4pJnmyDZI1v2r/qoNZISoj0m+vWKR55wmCdl7iOyMbwTTMAMqSfkHXClbuavbP8X I3d62gDwg4B/s5xWAj7FL+X+T7xTIV8KLMzGHCMTXcUGM27n5f2tgS86SMYqxhx52r6/ HR3g==
MIME-Version: 1.0
Received: by 10.112.40.36 with SMTP id u4mr6915249lbk.70.1343750387662; Tue, 31 Jul 2012 08:59:47 -0700 (PDT)
Sender: kerlyn2001@gmail.com
Received: by 10.112.10.199 with HTTP; Tue, 31 Jul 2012 08:59:47 -0700 (PDT)
In-Reply-To: <5615.1343689590@sandelman.ca>
References: <5615.1343689590@sandelman.ca>
Date: Tue, 31 Jul 2012 11:59:47 -0400
X-Google-Sender-Auth: iu3u6SOB9JeQfgC9nWzdH1TbLwM
Message-ID: <CABOxzu1xoH9YbStyULeqpqQ8jdNFD0f0RgfbRjSPBEOvEt80=Q@mail.gmail.com>
From: Kerry Lynn <kerlyn@ieee.org>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: homenet@ietf.org
Subject: Re: [homenet] how to bookmark .lan, /.home, /.my-homenet when not home
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 31 Jul 2012 15:59:50 -0000

On Mon, Jul 30, 2012 at 7:06 PM, Michael Richardson
<mcr+ietf@sandelman.ca> wrote:
>
> while reading drafts on the airplane, I have come to think that picking
> any specific name a la ".local" for the homenet name service is fraught
> with RFC1918-like confusion.  For the actual printer and refridgerator
> (which does not move, but needs to talk to the TV) it's not a big deal,
> but for mobile devices, I think it's gonna lead to confusion.
>
Michael,

For those of us familiar with
http://tools.ietf.org/html/draft-cheshire-dnsext-multicastdns
the continued use of ".local." in these threads is leading to some
confusion, as we
synonymize this with using Multicast DNS (mDNS) instead of Unicast DNS.

As was noted in a previous thread, "Special-Use Domain Names" has been
approved as a Proposed Standard:
http://www.ietf.org/mail-archive/web/ietf-announce/current/msg10435.html
The mDNS draft places ".local" in this category and specifies:

   that the DNS top-level domain ".local." is a
   special domain with special semantics, namely that any fully-
   qualified name ending in ".local." is link-local, and names within
   this domain are meaningful only on the link where they originate.

> When I'm at your house, and I visit "fridge.local", do I get your
> fridge, or mine?

Mine, by definition.  Given that I'm not sure how you mean ".homenet"
to work by comparison, I'm not sure I completely understand the rest
of the discussion.

> Assuming I want mine, if I've discovered it when I was
> at home, how would I bookmark and remember it, assuming it had a GUA?
>

If you are remotely accessing resources in your home, you are probably
more advanced than 99% of all home network users.  Why wouldn't the
solution you use on the road apply equally well at your neighbor's house?
(I'm thinking here of services like dyndns.)  You simply put the domain
in which your fridge is registered earlier than ".local." in your DNS search
path, no?  If all else fails, put it in /etc/hosts?

> I therefore propose adding a level of indirection (because that solves
> every problem....), which (mobile) hosts will ideally become aware of.
>
> I think of this as a layer above the current LLMNR/mDNS/Bonjour++ layer.
>
> My idea is that the .homenet/.local discovery protocol would, in
> addition to the AAAA ULA or GUA record, would provide a reference a
> unique name which might not be globally resolvable from the DNS root,
> but can be resolved by arrangement.  This would be not unlike
> split-horizon DNS, but given IPv6 reachability, no VPN necessary.
>
> For sites where mglt-name-delegation works, great, use that!
> For those where this doesn't work,  we need a new well known name.
> Perhaps it can find a "logical" place in arpa.   Let's say it's based
> upon the ULA, and the home with prefix A:B:C:D gets
> D.C.B.A.homenet.arpa.  (add this to DNS search path...)
>
I think defining new "zones" under .arpa. may have merit in the following
respect: ICANN is now in the business of selling dotless domain names.
Despite the fact that there are many grandfathered special domain names
(including .local.) nobody that I know of has yet attempted to allocate a
new one.  Defining new special use names under .arpa. may be a way of
allocating them within IETF's authority, without approval from ICANN.

Note also that http://tools.ietf.org/html/rfc6303 defines a registry that is
apparently similar to special-names (at least there appears to be some
overlap):
http://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xml

Regards, -K-

> When an application resolves fridge.local,  if the fridge has a GUA
> which it has provided to the CPE's DNS server,  then it also returns a
> pointer to the "long-term name" (probably in a new RR) like
> "fridge.D.C.B.A.homenet.arpa". Any bookmarks and the like would contain
> that address (HTTP/HTML has existing mechanisms to deal with this),
> other applications might see this as the canonical name. (getaddrinfo(3)
> already has a canonname)
>
> My idea is that given IPv6 reachability for the HOME's CPE(s), that a
> mobile recursive (secure) DNS resolver can learn to make queries for
> D.C.B.A.homenet.arpa. directly to the home CPE, even when the mobile
> device is not "at home".
>
> The mobile device needs to be "pair"ed with the CPE such that it agrees
> to do this side-ways lookup.   It's pretty much identical to a windows
> desktop joining an AD (but I can't speak to the "home edition" being
> able to do that... don't do windows).
>
> This process is, I admit, a form of walled garden DNS, something I've
> argued against as being unnecessary.  I'd rather that the ISPs provided
> a name, but I feel that ISPs won't be very fast to offer this, and for
> the home user with no native IPv6 (using a managed tunnel, for
> instance), that a protocol such as I am suggesting, would provide a
> clear value (something people would brag about to their friends...)
> without requiring people to "wait" for their ISP.
>
> This does not replace "fridge.local" referring to the fridge on the
> network that you are on, but it does provide a way to easily discover
> and then bookmark "my fridge".
>
> (written offline using xemacs on android)
>
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet