Re: [dnssd] CoAP resource discovery and DNS-SD
Ted Lemon <mellon@fugue.com> Sat, 14 May 2022 00:01 UTC
Return-Path: <mellon@fugue.com>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 125BEC1D3505 for <dnssd@ietfa.amsl.com>; Fri, 13 May 2022 17:01:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20210112.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pcw47FQJu2fS for <dnssd@ietfa.amsl.com>; Fri, 13 May 2022 17:01:55 -0700 (PDT)
Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57BFBC1D34FF for <dnssd@ietf.org>; Fri, 13 May 2022 17:01:50 -0700 (PDT)
Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-edf9ddb312so12405640fac.8 for <dnssd@ietf.org>; Fri, 13 May 2022 17:01:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GSU4E9Z7zck7kAfv/IuO6VJ+QGKSl/5XO1anm55Dh5w=; b=simkmJLfWdwY20SoLUP9NkShUI3fHQsxueIgubAUbdEoT270icQDp2fV7SQae1q08d xRCPsSwTrcj15ltxSAae9saQ4F5PXtp2P4QOM/u5JCbi7LEzqkfZrgU0I019wk5xRE1q OwDW3JLyld6lYP3Njd9J60aISXoaxfoGByLQ7omvfoaTufidy20u0uq2I1clOVzkS0Lh HBsMki8Qh7B6nddlEaAzFBZSHnsuOV1N2O/6LbX9PLdYMWkQbha6XDo+VO9CbYE11oY0 BJvKZflpapZ5BP0CNdQBo2JM1f21iOI+hrtKogE+jotMsJAWdsGLi6uoWkxSrP6biDFx IjwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GSU4E9Z7zck7kAfv/IuO6VJ+QGKSl/5XO1anm55Dh5w=; b=abfm3gPI/E3cJIAn5CZj3eUGgRTxAQIaQZy0mTKGmObkduiawwSo0j9AU3YrtnUYVG 0x++nm0L9i9TyodOgfn8D7d5F3woNDaicZvNw1gXzf2SOPXQKuo/9fCs7CtuwsBFlwNb yMgRlWQqIVrPmGUIb1p9yA6S3k7z8uxzLJnLHSmqFx4oZYQrZVQcgiCx8/hp91Sku1uW xU/3rnJS3KCCV13w1WSlwW2AmZmcWzzHLEEQaO0OfFKiMrSqT7IFdobM/2Q2f9uQjy9A zNL+dIfvT6LmHKFBjEcrqEYJK9wD8nggpg4+mXG5r0YK31J1KXdsKxvEBH8VS/hGtvi8 0jxw==
X-Gm-Message-State: AOAM531X0t1Auw4EDhQ0WC/7J2C7T2dMDasTJ0gzc+NzIOB3Auy6+rYw S+qVXapReNJsWjOucEFk1ztD+r5GfKEQYkUikJRNSQ==
X-Google-Smtp-Source: ABdhPJxtC2/DlJwC+JTTC7VJPg2rmOt4NaCEu5FJqnjq426fogPzgV4M5KCjDYPg0pVBCbU00YeV6YsurALC5yO2BKA=
X-Received: by 2002:a05:6870:1710:b0:ec:94dc:5406 with SMTP id h16-20020a056870171000b000ec94dc5406mr3645521oae.209.1652486508549; Fri, 13 May 2022 17:01:48 -0700 (PDT)
MIME-Version: 1.0
References: <Yn7nnX096f0LdonI@faui48e.informatik.uni-erlangen.de> <CAPt1N1n7Pd7yZ1jzBGMWCv-Vkf1iT_nLPmHrNYvDkwVjE7QmhA@mail.gmail.com> <Yn7wWNAeLWz/qZlG@faui48e.informatik.uni-erlangen.de>
In-Reply-To: <Yn7wWNAeLWz/qZlG@faui48e.informatik.uni-erlangen.de>
From: Ted Lemon <mellon@fugue.com>
Date: Fri, 13 May 2022 20:01:37 -0400
Message-ID: <CAPt1N1mWerc9ddoeZJ6WcPck_w5xe_7fkWK7NVWbDGgzXwN+Xw@mail.gmail.com>
To: Toerless Eckert <tte@cs.fau.de>
Cc: dnssd@ietf.org
Content-Type: multipart/alternative; boundary="00000000000056afc405deed7f61"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/cQYjsD7CkiHhfubIF0WvAnwZusI>
Subject: Re: [dnssd] CoAP resource discovery and DNS-SD
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: "Discussion of extensions to DNS-based service discovery 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: Sat, 14 May 2022 00:01:57 -0000
The registry/mapping problem is where we fell down. Why are you trying to use Core for this anyway? DNS-SD works fine—that’s what we’re using for Thread, for example. You can just do a DNS UDP query or use DNS Push rather than using multicast if you use SRP to update the DNS server. On Fri, May 13, 2022 at 19:57 Toerless Eckert <tte@cs.fau.de> wrote: > Thanks, Ted > > Any pointer to Kerry's work in this regard ? I was looking through her > expired > draft, but i didn't see anything getting to that exact point > (draft-doi-core-parameter-option looks like related, but i can't really > make heads or tails out of it). > > So lets say: > > REQ: GET /.well-known/core?rt=<resource> > > RES: 2.05 Content > Content-Format: 40 > Payload: > </b>;rt=<resource>;p=<prio>;w=<weight>;proto=<string>, > ... > > I am just defining in the spec for my resource that it has additional > option > link-target attributes. p= for a numeric priority value, w= for a numeric > weight attribute and proto= for a string enumerating protocol details. > And these are the same parameters as what i'd use for the same resource > (oops: service) when using DNS-SD. > > It seems as if rfc6690 didn't actually create a registry for those > link-targets > but simply created rt= and if= link-targets and just created a registry for > the values of rt= and if=. Which raises the question if i could simply > specify p/w/proto to be normative in the context of the specific resource, > and if not whether those addtiional link-targets would have to be > specified as > updated to rfc6690... > > Cheers > Toerless > > On Fri, May 13, 2022 at 07:22:41PM -0400, Ted Lemon wrote: > > We were never able to figure that out either. The mapping from Core RD in > > particular to DNS-SD is something that the DNS-SD working group actually > > pursued for a while (Kerry Lynn worked on this pretty heavily for about a > > year). > > > > On Fri, May 13, 2022 at 7:20 PM Toerless Eckert <tte@cs.fau.de> wrote: > > > > > Dear CoAP WG > > > > > > I am trying to figure out how to use CoAP discovery as specified in > RFC7252 > > > (and expanded in rfc6690 and rfc7390), but i can not figure out how > > > one would encode basic parameters of a resource, such as those > supported > > > in DNS-SD, rfc6763: > > > > > > When discovering more than one instance of a resource, such as > possible, > > > when using multicast discovery as on rfc7252, clients will have to > figure > > > out, > > > which instance of a resource to select. DNS-SSD has priority and weight > > > parameters associated with each instance. How would one describe/encode > > > such instance and weight ? > > > > > > When discovering one or more instance via DNS-SD, the discoering client > > > may further select the best instance in terms of interoperability, > > > functionality > > > and performance based on one or more key=value property pairs > describing > > > the instance. How is this done in CoAP ? > > > > > > Thanks a lot! > > > > > > Toerless > > > > > > _______________________________________________ > > > dnssd mailing list > > > dnssd@ietf.org > > > https://www.ietf.org/mailman/listinfo/dnssd > > > > > -- > --- > tte@cs.fau.de >
- [dnssd] CoAP resource discovery and DNS-SD Toerless Eckert
- Re: [dnssd] CoAP resource discovery and DNS-SD Ted Lemon
- Re: [dnssd] [core] CoAP resource discovery and DN… Carsten Bormann
- Re: [dnssd] [core] CoAP resource discovery and DN… Toerless Eckert
- Re: [dnssd] [core] CoAP resource discovery and DN… Carsten Bormann
- Re: [dnssd] CoAP resource discovery and DNS-SD Toerless Eckert
- Re: [dnssd] [core] CoAP resource discovery and DN… Toerless Eckert
- Re: [dnssd] CoAP resource discovery and DNS-SD Ted Lemon
- Re: [dnssd] [core] CoAP resource discovery and DN… Carsten Bormann
- Re: [dnssd] CoAP resource discovery and DNS-SD Toerless Eckert
- Re: [dnssd] [core] CoAP resource discovery and DN… Toerless Eckert
- Re: [dnssd] [core] CoAP resource discovery and DN… Carsten Bormann
- Re: [dnssd] CoAP resource discovery and DNS-SD Esko Dijk
- Re: [dnssd] [core] CoAP resource discovery and DN… Esko Dijk
- Re: [dnssd] [core] CoAP resource discovery and DN… Peter van der Stok
- Re: [dnssd] CoAP resource discovery and DNS-SD Esko Dijk
- Re: [dnssd] [core] CoAP resource discovery and DN… Toerless Eckert
- Re: [dnssd] CoAP resource discovery and DNS-SD Toerless Eckert
- Re: [dnssd] CoAP resource discovery and DNS-SD Ted Lemon
- Re: [dnssd] CoAP resource discovery and DNS-SD Esko Dijk
- Re: [dnssd] CoAP resource discovery and DNS-SD Michael Richardson
- Re: [dnssd] CoAP resource discovery and DNS-SD Esko Dijk
- Re: [dnssd] CoAP resource discovery and DNS-SD Toerless Eckert