Re: [dnssd] draft-sullivan-dnssd-mdns-dns-interop-00

Douglas Otis <doug.mtview@gmail.com> Thu, 30 January 2014 02:44 UTC

Return-Path: <doug.mtview@gmail.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 D68C91A052A for <dnssd@ietfa.amsl.com>; Wed, 29 Jan 2014 18:44:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.693
X-Spam-Level:
X-Spam-Status: No, score=-0.693 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001, TRACKER_ID=1.306] autolearn=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 nO3Hnb5dvgBz for <dnssd@ietfa.amsl.com>; Wed, 29 Jan 2014 18:44:46 -0800 (PST)
Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 6290F1A0525 for <dnssd@ietf.org>; Wed, 29 Jan 2014 18:44:46 -0800 (PST)
Received: by mail-pd0-f175.google.com with SMTP id w10so2481669pde.20 for <dnssd@ietf.org>; Wed, 29 Jan 2014 18:44:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=ppmDeBHcX7uQV20Wul63FSvmjDiP/coorO70Ghd9mEU=; b=WvKpXaFpKPnQB9bFju4QpycARaTyoWFmKp/jMQS4xeJ9QD/678z6d3kDFGwQmR4iDy +BHvSoAISER9rpAZoQRlygy02OtYnUVwprIweLVSUuaa5e82zGf5f6WJA/cC4XzjQsWa qPoW3Ua2ydd0ldRxKR85VC06YXIBBlANqJT/3ZiUbo5BfP0RZDFB+1/uIDAw2KYQ1a8Y xHa7MuBe3MD+OLJNpkhFVO2NJP8tYulPxdoJTOHTlupkQQRvozKVvxI9V/ReFZiZNRpb ckEE9IbIZUWyKR07TfdoapiPdAApUjwzOCNU7KmKc4tjkx58Njl5DsbWX7HeJqw+3Y64 3emA==
X-Received: by 10.68.143.196 with SMTP id sg4mr11654269pbb.155.1391049883437; Wed, 29 Jan 2014 18:44:43 -0800 (PST)
Received: from [192.168.2.230] (c-67-188-1-12.hsd1.ca.comcast.net. [67.188.1.12]) by mx.google.com with ESMTPSA id cz3sm11882046pbc.9.2014.01.29.18.44.41 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 18:44:42 -0800 (PST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_BE0CB23F-FCA3-406D-8A90-6D1690CE9F68"
Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\))
From: Douglas Otis <doug.mtview@gmail.com>
In-Reply-To: <20140129062726.GB9511@mx1.yitter.info>
Date: Wed, 29 Jan 2014 18:44:39 -0800
Message-Id: <E7BEB4F0-89F1-49AA-9CED-1E28E234044E@gmail.com>
References: <20140122222616.GN1271@mx1.yitter.info> <B1173945-F2CB-4086-A5BA-CAC44C0974D1@gmail.com> <20140123032553.GC1580@mx1.yitter.info> <779216FA-E974-4C95-A46F-DD55F6FC4F89@gmail.com> <20140124193205.GB2065@mx1.yitter.info> <BB22DC64-FA2C-4C2A-975C-8FFB41F8A0BD@gmail.com> <20140128035044.GB7975@mx1.yitter.info> <F6C27052-41E0-41D0-92F6-0809F7D0BEC8@gmail.com> <20140129062726.GB9511@mx1.yitter.info>
To: Andrew Sullivan <ajs@anvilwalrusden.com>
X-Mailer: Apple Mail (2.1827)
Cc: dnssd@ietf.org
Subject: Re: [dnssd] draft-sullivan-dnssd-mdns-dns-interop-00
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, 30 Jan 2014 02:44:49 -0000

Dear Andrew,

Please forgive my awkward summary of what I understood you to be proposing.  Your document does not appear to address the chartered problem.  Clearly you are also unhappy with my use of the term U-Label.  My apologies. 

See comments inline.

On Jan 28, 2014, at 10:27 PM, Andrew Sullivan <ajs@anvilwalrusden.com> wrote:
> Doug,
> 
> On Tue, Jan 28, 2014 at 09:53:20PM -0800, Douglas Otis wrote:
>> 
>> Disagree.  A globally resolvable label in DNS might not satisfy
>> applications expecting to discover local services. 
> 
> But a significant part of the _reason_ we started this WG was because
> the services aren't actually local.  They're on-campus, but they're
> not in a link-local context.  So far, there are exactly two contexts:
> link-local and not.  You seem to be proposing something further, but
> if so I really don't know what it is.  It'd be nice to get a pointer.

The goal is to facilitate access to mDNS gateways or proxies for access to services likely publishing non-global addresses in mDNS which do not permit direct Internet access and are not on a common network bridge.  Profoundly not the same as transparently resolving global services which you seem to suggest.

Here are some pointers to proprietary products that may help compose a definition of the problem being solved.  Rather than using Rbridge (RBridge overview), these products use VLANs (RFC5517) into adjacent network segments.

 Xirrus_BonjourDirectorAppNotes
 Aerohive Bonjour Gateway
 ArubaNetworks AirGroup
 
>> up resolvers.  In addition, U-labels complying with RFC5198 will not
>> ensure valid A-Labels 
> 
> There is no such thing as a U-label that does not generate an A-label,
> and conversely.  This is a property of U-labels and A-labels.  If what
> you're talking about is a non-U-label string that is nevertheless a
> valid string using 5198, please say that.

Read section 1.1 of RFC5895.  There are few protocol checks on U-Labels.  U-Label enforcement is normally incumbent on those often called registrars to ensure compliance with Unicode Standard Annex #15 Unicode Normalization Forms which was revised three times since 2012.  http://www.unicode.org/reports/tr15/.

IDNA2008 takes an anamorphic view of UTF-8 input described as depending on geographic or cultural factors.  As such, it does not offer fixed translations between user input in UTF-8 form and A-labels.  Any such view has been deprecated along with the changed definition for A-Labels also prefixed with the same "xn--".  It is risky to assume symmetry between A-Labels and encoded UTF-8 user input.  U-Label validity is assumed when a process defined in RFC3492 encodes A-Labels that resolve records.  Do not assume symmetry between UTF-8 user input and A-Labels or that symmetry is being enforced by the protocol.  Such enforcement is not practical.  Strong statements about U-label and A-label symmetry is misleading. 

>> A user may not be helped who expects local services that resolve
>> elsewhere.  There should be a preference for .local.
> 
> You do realise, right, that users never see ".local." on anything? 

Users don't see the DNS search list either. A 'single operational convention' for mDNS/DNS services outside the ".local." domain may have applications obtaining domain search lists provided by DHCP (v4  RFC2131, v6 RFC3315) or RA DNSSL (v6 RFC6106).  DNS service domains must be published as A-Labels (RFC5891).  Since domain compliance depends on A-label enforcement by registrars, A-Labels and not U-Labels must be published in DNS.  There is a DNS extension to support the live browse feature found in mDNS.  

The suggestion was to recommend an implied ".local." be positioned first in a domain search list when fewer than 3 labels are entered when applications make use of search domain lists.   This would mean for users not entering FQDNs they might experience a 3 second delay with the benefit of better protecting the Internet and the user alike.

>> Trill is able to transparently bridge multicast traffic by encapsulating packets in a manner that protects against routing loops.
> 
> Ok.  So, you are saying that DNS-SD has to be used onlt with mDNS?
> That seems contrary to the specification.  Also, it's contrary to
> deployed practice.  For instance, printers at IETF meetings are
> discoverable using DNS-SD in the global DNS.

In specific cases it may be practical to administratively pin services to specific addresses and then use any number of publishing methods.  At the last meeting the printer's address was published in DNS as term-printer.meeting.ietf.org and in mDNS within the terminal room.  Have been unable to find evidence DNS-SD had been implemented by the IETF within DNS, although the charter did mention its use.

term-printer.meeting.ietf.org. 	3600 IN	AAAA	2001:67c:370:128:200:74ff:fee0:6cf8
term-printer.meeting.ietf.org. 	3600 IN	A		31.133.128.18

It seems highly doubtful most organizations will want selectively configured local services exposed to the Internet, unlike the IETF.

In my view, Rbridge represents an example that satisfies the WG charter as does Xirrus, Aerohive, and Aruba products.  For all of these examples, a type of cross-link node filter is likely desired.  As such, one of the work products might include a standard format describing desired service cross-links via VLAN or Rbridge.  

Regards,
Douglas Otis