Re: [homenet] Name service design principles: a proposal

Kerry Lynn <kerlyn@ieee.org> Fri, 29 June 2012 20:19 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 B700121F88DB for <homenet@ietfa.amsl.com>; Fri, 29 Jun 2012 13:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.681
X-Spam-Level:
X-Spam-Status: No, score=-99.681 tagged_above=-999 required=5 tests=[AWL=-3.295, BAYES_00=-2.599, FB_WORD1_END_DOLLAR=3.294, FB_WORD2_END_DOLLAR=3.294, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, 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 SyeXx2v3Hf+E for <homenet@ietfa.amsl.com>; Fri, 29 Jun 2012 13:19:21 -0700 (PDT)
Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by ietfa.amsl.com (Postfix) with ESMTP id 6D55D21F88A9 for <homenet@ietf.org>; Fri, 29 Jun 2012 13:19:21 -0700 (PDT)
Received: by dacx6 with SMTP id x6so5012323dac.31 for <homenet@ietf.org>; Fri, 29 Jun 2012 13:19:21 -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=DFvpkCEwVXjkeqmn/AKMve0ia9Mr2B8MF2NgRiJQ64w=; b=m6xzvKAav5h00tddcD+4l49WA91cYJQmNwjs0LXr+XBo7KysFpRuvuAxfnY4aKms4T B5+/4dl1T9fcyjVJxXAIQXZ02tYsjfkefnGPYf6/ERjCo8AbI5JtASsyoxRealECnCzz jbZ1Oo+xm0dfN4i1/cEafUzv+64VR1BkQoo+QL2zX50VCYYPIohup6Q+nRnQY/CzY6JU ZFRcMX5riYiZfrFGAM6Xdnr+IZXOfiVb9UdGMWb5BkffHerE/fmF1lxdZKDoijsxjPBC tOeXfKUCRyZoW/XmIAMr9+tALoneW9lXqmir1dsw1E+I2neygovvC7PatmviTYrxr870 hDBA==
MIME-Version: 1.0
Received: by 10.68.224.225 with SMTP id rf1mr9491649pbc.55.1341001160887; Fri, 29 Jun 2012 13:19:20 -0700 (PDT)
Sender: kerlyn2001@gmail.com
Received: by 10.142.47.11 with HTTP; Fri, 29 Jun 2012 13:19:20 -0700 (PDT)
In-Reply-To: <7EFFABA0-F840-4A86-AECF-1D2C2B10B217@gmail.com>
References: <4FEDC46C.8070205@ogud.com> <07C6F7FE-8115-4B8E-867B-B92EB9932154@gmail.com> <4FEDF39D.8060909@mtcc.com> <A6DF3E8C-1E3B-4C0F-8EDB-292466631C02@apple.com> <7EFFABA0-F840-4A86-AECF-1D2C2B10B217@gmail.com>
Date: Fri, 29 Jun 2012 16:19:20 -0400
X-Google-Sender-Auth: xg-1zMI418YLXdz3Gbo65ih9Rao
Message-ID: <CABOxzu3Om_ZRcMcHfMe0Pv7hqpq=hhiFo2h3eb7UOPzOmk7o2A@mail.gmail.com>
From: Kerry Lynn <kerlyn@ieee.org>
To: Ralph Droms <rdroms.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="e89a8ff24b3bd68bcb04c3a22995"
Cc: "homenet@ietf.org Group" <homenet@ietf.org>, james woodyatt <jhw@apple.com>
Subject: Re: [homenet] Name service design principles: a proposal
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: Fri, 29 Jun 2012 20:19:22 -0000

On Fri, Jun 29, 2012 at 4:09 PM, Ralph Droms <rdroms.ietf@gmail.com> wrote:

>
> On Jun 29, 2012, at 3:58 PM 6/29/12, james woodyatt wrote:
>
> > On Jun 29, 2012, at 11:27 , Michael Thomas <mike@mtcc.com> wrote:
> >>
> >> Maybe I can add some fuel to Olafur's fire. I'd like to say that the
> homenet name service MUST be DNS.
> >
> > Let's go further.  Let's say that it must be DNS-Based Service Discovery
> [I-D.cheshire-dnsext-dns-sd], which has been in the RFC Editor Queue for
> 199 days at this point, so one imagines that it stands a decent chance of
> being a published RFC by the time HOMENET finishes its first round of major
> work.
>
> Hear, hear!


> Well, DNS-Based Service Discovery addresses just one kind of requirement:
> listing entities that provide a certain kind of service; perhaps
> generalizable to resolution based on a characteristic or set of
> characteristics that might return more than one response to the resolution
> request.  At some point, there needs to be a mechanism for resolving an
> identity to a single IP address.
>
> Actually, a Multicast DNS responder (mDNS is the multicast version of
DNS-SD)
will allow you to resolve A, AAAA records:

Kerrys-MacBook-Pro:6in4 kerlyn$ dig -p 5353 @224.0.0.251 _http._tcp.local
PTR     <<<< We first discover web servers

; <<>> DiG 9.7.3-P3 <<>> -p 5353 @224.0.0.251 _http._tcp.local PTR
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33690
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 4

;; QUESTION SECTION:
;_http._tcp.local. IN PTR

;; ANSWER SECTION:
_http._tcp.local. 10 IN PTR
Officejet\032Pro\0328500\032A909g\032[4C0EA4]._http._tcp.local.

;; ADDITIONAL SECTION:
Officejet\032Pro\0328500\032A909g\032[4C0EA4]._http._tcp.local. 10 IN SRV 0
0 80 HP4C0EA4.local.
Officejet\032Pro\0328500\032A909g\032[4C0EA4]._http._tcp.local. 10 IN TXT ""
HP4C0EA4.local. 10 IN A 192.168.1.31
HP4C0EA4.local. 10 IN AAAA fe80::dad3:85ff:fe4c:ea4

;; Query time: 20 msec
;; SERVER: 192.168.1.31#5353(224.0.0.251)
;; WHEN: Fri Jun 29 16:13:10 2012
;; MSG SIZE  rcvd: 168



Kerrys-MacBook-Pro:6in4 kerlyn$ dig -p 5353 @224.0.0.251 HP4C0EA4.local A
  <<<< We can also resolve the host record

; <<>> DiG 9.7.3-P3 <<>> -p 5353 @224.0.0.251 HP4C0EA4.local A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40117
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;HP4C0EA4.local. IN A

;; ANSWER SECTION:
HP4C0EA4.local. 10 IN A 192.168.1.31

;; Query time: 1 msec
;; SERVER: 192.168.1.31#5353(224.0.0.251)
;; WHEN: Fri Jun 29 16:13:39 2012
;; MSG SIZE  rcvd: 48



Kerrys-MacBook-Pro:6in4 kerlyn$ dig -p 5353 @192.168.1.31 HP4C0EA4.local A
   <<<< We can just as easily unicast the query

; <<>> DiG 9.7.3-P3 <<>> -p 5353 @192.168.1.31 HP4C0EA4.local A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32090
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;HP4C0EA4.local. IN A

;; ANSWER SECTION:
HP4C0EA4.local. 10 IN A 192.168.1.31

;; Query time: 2 msec
;; SERVER: 192.168.1.31#5353(192.168.1.31)
;; WHEN: Fri Jun 29 16:17:47 2012
;; MSG SIZE  rcvd: 48



> - Ralph
>
> >
> >
> > --
> > james woodyatt <jhw@apple.com>
> > member of technical staff, core os networking
> >
> > [*] <http://datatracker.ietf.org/doc/draft-cheshire-dnsext-dns-sd/>
> > _______________________________________________
> > homenet mailing list
> > homenet@ietf.org
> > https://www.ietf.org/mailman/listinfo/homenet
>
> _______________________________________________
> homenet mailing list
> homenet@ietf.org
> https://www.ietf.org/mailman/listinfo/homenet
>