Re: [dnssd] DNS Name Autoconfiguration for Home Network Devices

"Simpson, Robby (GE Energy Management)" <robby.simpson@ge.com> Thu, 20 November 2014 15:51 UTC

Return-Path: <robby.simpson@ge.com>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B0131A0A6A for <dnssd@ietfa.amsl.com>; Thu, 20 Nov 2014 07:51:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.266
X-Spam-Level:
X-Spam-Status: No, score=-2.266 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 dKrLzqx_NmeA for <dnssd@ietfa.amsl.com>; Thu, 20 Nov 2014 07:51:42 -0800 (PST)
Received: from mx0a-00176a03.pphosted.com (mx0a-00176a03.pphosted.com [67.231.149.52]) (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 8E9381A1A77 for <dnssd@ietf.org>; Thu, 20 Nov 2014 07:51:42 -0800 (PST)
Received: from pps.filterd (m0048275.ppops.net [127.0.0.1]) by m0048275.ppops.net-00176a03. (8.14.7/8.14.7) with SMTP id sAKFjQSS004998 for <dnssd@ietf.org>; Thu, 20 Nov 2014 10:51:42 -0500
Received: from cinmlip10.e2k.ad.ge.com ([12.71.149.1]) by m0048275.ppops.net-00176a03. with ESMTP id 1qsju6r0sc-11 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <dnssd@ietf.org>; Thu, 20 Nov 2014 10:51:42 -0500
Received: from unknown (HELO ALPMBHT03.e2k.ad.ge.com) ([3.159.19.196]) by cinmlip10.e2k.ad.ge.com with ESMTP/TLS/AES256-SHA; 20 Nov 2014 10:50:07 -0500
Received: from ALPURTP01.e2k.ad.ge.com (3.159.16.200) by ALPMBHT03.e2k.ad.ge.com (3.159.19.196) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 20 Nov 2014 10:51:26 -0500
Received: from CINURCNA16.e2k.ad.ge.com (3.159.212.153) by ALPURTP01.e2k.ad.ge.com (3.159.16.200) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 20 Nov 2014 10:51:26 -0500
Received: from CINURCNA14.e2k.ad.ge.com ([169.254.2.249]) by CINURCNA16.e2k.ad.ge.com ([169.254.4.111]) with mapi id 14.03.0195.001; Thu, 20 Nov 2014 10:51:25 -0500
From: "Simpson, Robby (GE Energy Management)" <robby.simpson@ge.com>
To: Tom Pusateri <pusateri@bangj.com>
Thread-Topic: [dnssd] DNS Name Autoconfiguration for Home Network Devices
Thread-Index: AQHP//BdQI7OPQKTmku9cohwx5eWnZxg2XGAgAAf7YCAAAcrAIAAjIaAgAPKQ4CAAHOeAIAD6NqA
Date: Thu, 20 Nov 2014 15:51:24 +0000
Message-ID: <D093757F.3CCB0%Robby.Simpson@GE.com>
References: <CAPK2DeyuABqSbH5dtdtScYWnE-vkmGO642xFb6FZehu-5MTaAA@mail.gmail.com> <436692B4-978D-4E62-868E-78FA8AF3F26F@nominum.com> <CAPK2Deys6VU83R0hfv_8svNKuaSBEfu_dGqnGkoN_pQ9zE_6HQ@mail.gmail.com> <cc9f90afaa7a48bdaf7a8906546571b5@BY2PR03MB412.namprd03.prod.outlook.com> <CAPK2Dex=hR5HE-BFtvbMzgadfcu-4CPgP8zd1sziNPCQNJ+aCw@mail.gmail.com> <D08FC56A.3C9AF%Robby.Simpson@GE.com> <42C3C87F-0D99-47CB-B50A-9107BD10A2E6@bangj.com>
In-Reply-To: <42C3C87F-0D99-47CB-B50A-9107BD10A2E6@bangj.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.6.141106
x-originating-ip: [3.159.212.182]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <8B3785EB99FF6F429B287916B2AC8009@mail.ad.ge.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68, 1.0.28, 0.0.0000 definitions=2014-11-20_07:2014-11-20,2014-11-20,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1411200126
Archived-At: http://mailarchive.ietf.org/arch/msg/dnssd/PjMx8wtT9uClPXfne1yhhZSqPjo
Cc: Brian Haberman <brian@innovationslab.net>, Myung-Ki Shin <mkshin@etri.re.kr>, "dnssd@ietf.org" <dnssd@ietf.org>, Dave Thaler <dthaler@microsoft.com>, Jung-Soo Park <pjs@etri.re.kr>, Ted Lemon <Ted.Lemon@nominum.com>, Sejun Lee <prosejun14@gmail.com>, "Mr. Jaehoon Paul Jeong" <jaehoon.paul@gmail.com>
Subject: Re: [dnssd] DNS Name Autoconfiguration for Home Network Devices
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion of extensions to Bonjour \(mDNS and DNS-SD\) for routed networks." <dnssd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnssd>, <mailto:dnssd-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnssd/>
List-Post: <mailto:dnssd@ietf.org>
List-Help: <mailto:dnssd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnssd>, <mailto:dnssd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Nov 2014 15:51:46 -0000

On 11/17/14, 6:09 PM, "Tom Pusateri" <pusateri@bangj.com>; wrote:


>So would this be a good use for the device-info Pseudo Service Type TXT
>record?
>
>I haven't been able to find much on "device-info" except for it's
>definition and a short email about it.
>
>But it seems like a TXT record with key/value pairs would be more
>suitable for this type of information.
>If device-info isn't right, then maybe a new service type can be defined
>for this purpose.
>
>http://www.dns-sd.org/servicetypes.html
>
>http://lists.apple.com/archives/bonjour-dev/2011/Jul/msg00016.html

I myself am unfamiliar with device-info as well.  In general, I would be
concerned about putting too much of this information in TXT records as
that could be quite a lot of information being sent, particularly in mDNS
environments and also particularly if the target is IoT (where battery
power is at a premium, packet sizes are especially limited, etc.).

If you go down the route of not putting all of this information into TXT
records, you then need to decide on format (e.g., JSON, XML) and query
style, thus you end up with specific service types for "your world."
Which I think is OK as many of us are concentrated on different use cases.

To illustrate, once again I'll show what we did with SEP 2.0 (IEEE 2030.5):
We defined a service type "smartenergy".  All devices that would respond
to the "smartenergy" service type would then return a "dcap" TXT record.
That "dcap" was a URI that would lead an interested party to a
"DeviceCapabilities" resource, which spelled out where everything was
located on that device.  One of those was the "DeviceInformation"
resource, which contained various items such as manufacturer ID, model,
serial number, etc.  We also defined subtypes of the "smartenergy" service
type that would allow finer grained discovery by functionality, such as
locating devices that offered smart metering information.  Contact me
off-list if you want more details of this specific use, my point here is
just trying to illustrate how mDNS and DNS-SD have been used in the wild
to support this kind of information.

HTH,
Robby