Re: [dnssd] Review of draft-ietf-dnssd-mdns-dns-interop-01

"Hosnieh Rafiee" <ietf@rozanak.com> Wed, 22 July 2015 08:51 UTC

Return-Path: <ietf@rozanak.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 1D2E81A8A3C for <dnssd@ietfa.amsl.com>; Wed, 22 Jul 2015 01:51:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.91
X-Spam-Level:
X-Spam-Status: No, score=-3.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, T_RP_MATCHES_RCVD=-0.01] 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 QMZ4SWSdDoiK for <dnssd@ietfa.amsl.com>; Wed, 22 Jul 2015 01:51:13 -0700 (PDT)
Received: from mail.rozanak.com (mail.rozanak.com [IPv6:2a01:238:42ad:1500:aa19:4238:e48f:61cf]) (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 6F5F81ACEA5 for <dnssd@ietf.org>; Wed, 22 Jul 2015 01:51:07 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mail.rozanak.com (Postfix) with ESMTP id B79FB25CA2AE for <dnssd@ietf.org>; Wed, 22 Jul 2015 08:51:05 +0000 (UTC)
X-Virus-Scanned: amavisd-new at rozanak.com
Received: from mail.rozanak.com ([127.0.0.1]) by localhost (mail.iknowlaws.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8TYFgfEoQKid for <dnssd@ietf.org>; Wed, 22 Jul 2015 10:51:04 +0200 (CEST)
Received: from kopoli (p200300864F13D155718B951C5C0ED2EF.dip0.t-ipconnect.de [IPv6:2003:86:4f13:d155:718b:951c:5c0e:d2ef]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.rozanak.com (Postfix) with ESMTPSA id 9FEA125CA0C0 for <dnssd@ietf.org>; Wed, 22 Jul 2015 10:51:04 +0200 (CEST)
From: Hosnieh Rafiee <ietf@rozanak.com>
To: dnssd@ietf.org
References: <003b01d0c441$52043470$f60c9d50$@rozanak.com> <20150722083604.GF4832@mx2.yitter.info>
In-Reply-To: <20150722083604.GF4832@mx2.yitter.info>
Date: Wed, 22 Jul 2015 10:51:02 +0200
Message-ID: <00ac01d0c45b$89f49540$9dddbfc0$@rozanak.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQDvsKtGOwvciL+TIXR7yt5OsERRRAJS6gkIn5a93NA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnssd/ZnUHIVhJ0Hryk_-fu1LB8bMfdc8>
Subject: Re: [dnssd] Review of draft-ietf-dnssd-mdns-dns-interop-01
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 22 Jul 2015 08:51:15 -0000

Hi Andrew,

> 
> […]
> 
> > Now the question is that is it possible also to cheat the recursive
> > resolver with mDNS responses while looking up for a domain?
> 
> No.  As I said in the WG session, the way that mDNS and DNS differentiate is
> using an in-band signalling mechanism, which is the final non-null label of the
> QNAME.  If that last non-null label is local, then it's mDNS; otherwise, it isn't.  If
> mDNS is responding to DNS queries, then it's just not following the mDNS
> protocol.
> 
> > - section 3
> > <snip> U-labels cannot contain upper case letters </snip>
> >
> > For some languages, upper case letter does not make it different
> > specially in some letters. Especially the languages that a word is the
> > result of attaching the characters together.  I think this is
> > specially true for non-european languages. Two examples are  Persian or
> Arabic.
> >
> > Therefore, one cannot differentiate between mDNS service and DNS names
> > with only considering that DNS cannot use uppercase U-labels.
> 
> Indeed, you cannot, and the document does not suggest you use this
> mechanism to tell whether something is a DNS name, right?

True

> > - section 4.2
> > It is not the requirement of DNSSD to use underscoll character, as far
> > as I can see it is only recommendation.
> 
> I don't see how.  The text you cite starts thus:

This part which says its is not a requirement of SRV records in general. What I understand is that following this structure is not the requirements. They are free to specify their namings

<snip>
Note that this usage of the "_udp" label for all protocols other than
   TCP applies exclusively to DNS-SD service advertising, i.e., services
   advertised using the PTR+SRV+TXT convention specified in this
   document.  It is not a requirement of SRV records in general.  Other
   specifications that are independent of DNS-SD and not intended to
   interoperate with DNS-SD records are not in any way constrained by
   how DNS-SD works just because they also use the DNS SRV record
   datatype [RFC2782]; they are free to specify their own naming
   conventions as appropriate.
</snip>
>    The <Service> portion of a Service Instance Name consists of a pair
>    of DNS labels, following the convention already established for SRV
>    records [RFC2782].
> 
>    The first label of the pair is an underscore character followed by
>    the Service Name [RFC6335].  The Service Name identifies what the
>    service does and what application protocol it uses to do it.
> 
> The underscore character is in fact part of the definition, and is the only way
> AFAICT that you'd be able to tell which part of the owner name is the
> <Service> portion of a Service Instance Name.
> 
> Best regards,
> 

Thanks,
Best,
Hosnieh