Re: [dnssd] CoAP resource discovery and DNS-SD

Esko Dijk <esko.dijk@iotconsultancy.nl> Tue, 17 May 2022 16:09 UTC

Return-Path: <esko.dijk@iotconsultancy.nl>
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 17997C159A23 for <dnssd@ietfa.amsl.com>; Tue, 17 May 2022 09:09:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.1
X-Spam-Level:
X-Spam-Status: No, score=-7.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=iotconsultancy.nl
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 eeSvqinZlQP2 for <dnssd@ietfa.amsl.com>; Tue, 17 May 2022 09:08:56 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on070a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::70a]) (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 4C7B5C14F718 for <dnssd@ietf.org>; Tue, 17 May 2022 09:08:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XtzYEvyvqW3dmzbpni4zD+ovGas6Jt6xTEq/hk8/btDIza+HPqaNVWaDzaCBAhdWqHhBBNbx6SgB9toVBUgYWbYESsSL1u+5KQmigG88UWNymCcBaxyJwL18UB00BVO7/uEE88iWsEzK82V64Ftdflq9FAcviHy2AXTD7ykDesCdu7TkvNbmFFxhFB6J+33L5WeMdGCsIImPQNYXGv6WxLi0m9SrZL5DnqNG8ttUFQDb6YO5PTueQ8MypVbG1RTxjNUELA4c+WJrKG0yz5+S04qw7wglE2SBWoee12T6q3zFZ4oJqybuyjPLmTJhnmXWL4tO/qx5rPAKLWytuoVIqA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Grioifo2XEmmg7OTT+cDEbPQZTsz74PFWGpCFHSHWcI=; b=OPe59ebi90SDE/Fhr1XERPBE6/PjtFNrH6OidO479DLs6DdrsaAYg92lniSL5Pf3QjEPsoYjGe9yWF5nBlX2YLRxWiSog615xbiNLs5fGGOZoJN5V7WB8cMRSYs1VVmRM+WjMTgKmL+nXEbKatVSJys+SiPQY7bEqY+rIToI0uBTGkMe/S351bOgCf9y4SJy3wlq+bbNap1PKb9fMTGr/THAFZaHwZiW4sqrByCpxeRF2U5SIsdzC9ts2/i5wIOSMuppZkq6JO6vAbpfO6DV41tm6aoNk7JSib++DwM7mr+BuP4aHqrMBWLaHI87W6uj6mA+AiNyuQNKg1957sQQ5w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=iotconsultancy.nl; dmarc=pass action=none header.from=iotconsultancy.nl; dkim=pass header.d=iotconsultancy.nl; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotconsultancy.nl; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Grioifo2XEmmg7OTT+cDEbPQZTsz74PFWGpCFHSHWcI=; b=XEXS68vadmQinqwd/zdpyDRbwTFgOlRcxuznp39cdP8Gvt1hYlhast12qqsWB7y3zWja6BsVKw/0ol8GSEgXBwXE0zT0UDmSWJ/F6NQNvT5PzcQnWpa9R6LRWjwlUXy107I1vTXlYUPb8kVbkzH8u5XhdPWilBkGoEYFuS4NbSg=
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:3b9::20) by AS8P190MB1559.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:3fb::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5250.14; Tue, 17 May 2022 16:08:49 +0000
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::d19a:a24c:bd5c:95da]) by DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::d19a:a24c:bd5c:95da%9]) with mapi id 15.20.5250.018; Tue, 17 May 2022 16:08:48 +0000
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
To: Toerless Eckert <tte@cs.fau.de>
CC: "dnssd@ietf.org" <dnssd@ietf.org>, Ted Lemon <mellon@fugue.com>
Thread-Topic: [dnssd] CoAP resource discovery and DNS-SD
Thread-Index: AQHYZyXb2e69aDN4N0m7+e655Wa0D60eaB2AgAKzyuCAAhKtgA==
Date: Tue, 17 May 2022 16:08:48 +0000
Message-ID: <DU0P190MB197822C80CCC94B45CD47448FDCE9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
References: <Yn7nnX096f0LdonI@faui48e.informatik.uni-erlangen.de> <CAPt1N1n7Pd7yZ1jzBGMWCv-Vkf1iT_nLPmHrNYvDkwVjE7QmhA@mail.gmail.com> <Yn7wWNAeLWz/qZlG@faui48e.informatik.uni-erlangen.de> <CAPt1N1mWerc9ddoeZJ6WcPck_w5xe_7fkWK7NVWbDGgzXwN+Xw@mail.gmail.com> <Yn+2Y78egBWD925Y@faui48e.informatik.uni-erlangen.de> <DU0P190MB197836BA08D266A927F3ADE4FDCF9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
In-Reply-To: <DU0P190MB197836BA08D266A927F3ADE4FDCF9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=iotconsultancy.nl;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 04c39846-b57d-4e51-63d5-08da381f86f9
x-ms-traffictypediagnostic: AS8P190MB1559:EE_
x-microsoft-antispam-prvs: <AS8P190MB15590D15F959A5390818D37DFDCE9@AS8P190MB1559.EURP190.PROD.OUTLOOK.COM>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: r11Sg55XAJJ+ekynH3v9GkATs48D4yXKh4kbI9aJkYQ5Kq/d9KlS8PngTu8PDugp9S8o5w1EpoF5uKNBNKULiSFXSPRXBNpCQtodLLnYO/pwAMOVCPuBIrM0f2BiJgxZgs5kFx23vcdp+MxK1pOEIujByRS0jaCZrAvkDQSaYm9Nv9AvQHig8z3H+D7iRS1EOFv22gxBRZ7fE5E/oSpinWeY3IPJS0QRy9b5nXuik0+cgeYYlLWAtOM5iz2DMtEkEhJcTxaT3khm4InpDlzAe+pI7jU7s5Qs5RRy2vv7R8mD0d7qigArIMtIfnw7BZgNhKwT01wIOok5mSDG+WumjPKBUVoBp5w7kguD9kZfx9cugP8hedRv08D4kifaiUJd4w5Tkc0cMd2Fp1yaJ0ovCILk7lHM8l6FsTy5xMH/DLgYaJucaQhiqeubVMYDeUJKlCSB0OrGkbQsRIVi18jxm4siWmYwWcYb8TXGln1YBkRbZ0MA6yn8MoPM6AGC52jNO9PQ5CueUHHAlaJNzruAahJf8eutct4qkg7e2inDN+o0+DiRDRnIRUrmrigZ+NtuLFQIYikRVqIuZWpHlABm9kGwCSzpncywx8V8otxEpae/uJ9w9SOQFG5W7TZ19LZP/RHrWYCAypgNxmByHTldIKyWRkp9ccehtg4e31QyUbBgzs9oc4xoauafa5DTDnHY7gIyMpGfBRkLjZdysfOy3xL95zQpNwVhl1n1aen3IAO15dp7yJgbPA8IZ02TItaF7vS8LOjrxHjpCiRHLGZl/DWYv2XbhilTm0bHcPtbRBg=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0P190MB1978.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(376002)(136003)(39830400003)(346002)(396003)(366004)(38070700005)(38100700002)(52536014)(7696005)(122000001)(66574015)(6916009)(6506007)(53546011)(86362001)(9686003)(41300700001)(66446008)(66556008)(64756008)(966005)(83380400001)(508600001)(71200400001)(54906003)(66946007)(8936002)(316002)(8676002)(76116006)(33656002)(55016003)(44832011)(66476007)(4326008)(5660300002)(2906002)(186003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 2
x-ms-exchange-antispam-messagedata-0: PgjPc5EpTkypI59HoQV2lO8RwqPk7Vq0EF75iHlauVShuo5RYrOgpAWIrz9hI7kKFkvNF105kWwR5knWwBow8/omufotr/3e8qxvhwjkl92+VHUrUU04dN4oYmdlZleANfdV6zNPO10t3Uju2X1Uzh3Pu1qz3GV42y6FdJIdTo0IwN+GjmDUBE+IYGEhc7lv6y94YlM+OaJm7OrNedGwDTWudFCQG9PO1vqVY13bOMzLG/Nh/UPeY34yknZEaujza9XSXYMfKmepk97RIgGvpSRVsZBPa/mq5pmRVOK4y5twv88rYwhmPvXnWXXC595nRLUwat0+ud43hRHLsAPPfG0BFBPNGF0UELOHh8XsgTaHYH3tLCbBLyS97GiD+l3nlc0qfwmXrzoU8eFzrgGycv/6QkKjZ4no6PvoDcYDK3vFA16SWrz610ZmOgYtRbGGHy7BNZEaHdUJaD+hHpSMC5iBDsYC7AUtzOhUZPAKDPpLyOc3onxxsglsFXyl/eNoLZzgeYu/m6h3mffRm5lTTSpsVljxz1T46l33zSCegRvYVy82nykOFzC3T90TtKuGfad7vDgmhmnLnhC+oxw1FHzQaSfa/BSo5XOxbaHbHO1PzPR5mb35I8DB2fpXdcwtODIgH7yVLUF8xKn0Aqz6yvalkyQvFsFgt3OSY5ovFEfv6fX0S51y/Hy34wFdZPvUx0rZaYEk32DXbiZthK88h3DG0rctNH40df27RREmIBoIHxXlCnG70B+vawhIQCxEUHRrMX3PaqsPG+YODyPFUShsG4/y9nBEuM44eVUKBzL/ZiLF6scTkCrv7JxXicE0ygvXnp56AW1j2lnpzcYNgrzBC/SMQDLEqFaeTT+6vQBPTTabWBaTeG5BrhUs3hZiRz8a0t4GAcA3QYYXSQSxodbqBT6S0g21fAilklC1AiB50zKxLHcTgxyp86xLtT7KDVecIK9YaTr8I2uZ7CrTtLf6sTE279E70OwXidV+1e4COD0/XY2JEa6Ok0xqbgg9IDCXwQGWdXGIaO7D/3GEEtwygGG8q9BR8D7KzScj/23FqyfjCZgOcp7VIfNh3eM8XFQrsOdpQwz1gMUmCl9VotqrIzx0Rp/D1z75lavxPsn4XgeBYhddJIzSyifa4QrnusdW8EzGd6XY010oenh/DT2j+OBmvCjg2d4jBbaHveKoOyh5tV/JwmxRF+IU22ReCqURhYnuSoD7dXdSrrmlkD8hpzu8csX06re8yBc7uImKvsHOS+Vk+BXjvXL3JKn3h78yNIUTqlhCJhyrcmouK23UuSqnF9v3zjyBY6KSH7zwYesRONwLJ9+bN3SZx3rraTwWwMo2GK5d7tNcxounhrsyjYClcsYpf3Xbjlbtut7XmNGwTLLieV2wL1Az5QgNyzQYz3lenYLuWS3oiztE9jPE6QlwFdzAXk6CXTi3XwYPcWj+y9KRZwyy0UMQudDggMQwyB0NnNBb+CmOrbYSeEjJKqngUzu7u+fWK5j3lOewbhhJ3KPbJGnfZ8IB8dMXDC9c2GE+42twXA8kmdun5xkyAu5E5I5q3aTdFsX6ypASPBZT0agUBZUq3gVWKRlBDIMtbeOpEiaLg6GeYTu6SS9Kg6eder20yK8VB8K+9U+Lhxvj1GPA3/3UBEoyR1mAJE2fBh7kg6KVPgx6wRKBwc0vWB6F6KBWwMk52DIEJjwlGy1AbUe0qsXpaTaj2QW53SbgX1lhboW4xpN0b3WQi/WZOFERpkNoY3FfcFPL0tUfbQX5P4nYK1Bpt74mWUAAMlZbQyq4
x-ms-exchange-antispam-messagedata-1: xpjAOLC0rAKmDJMHmK4Aidwkpidtg2YmyHk=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: iotconsultancy.nl
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DU0P190MB1978.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 04c39846-b57d-4e51-63d5-08da381f86f9
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2022 16:08:48.5440 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 58bbf628-15d2-46bc-820b-863b6774d44b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: wZkopssCN5+qyTDw9bIlYDzUsouJSbDQt8raSXgC4d69r/X8+8ZufMGFcCP2ykY/qtPJ9cPDJea+YRIz0Ldinz7Ml0k9wNC5pRT4lhKh0ok=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P190MB1559
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/RSMJFdDC2tjAxdgCRLDqPwqul3I>
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: Tue, 17 May 2022 16:09:01 -0000

Toerless, there was also the below point in your mail:

> In coap, like in GRASP, we can map all necessary service elements into
> a single message, so we know it is a single request/reply exchange

As I understand, it can be the same for DNS-SD. A good implementation would return the SRV record for found services and also the associated AAAA records to have a single request/response. RFC 6763 12.2 defines this.
I would add to such behaviour that if the number of answers is high then the implementation can shorten the response by leaving out the AAAA records. Something that a DNS-SD server / SRP server suitable for mesh networks use could do.

(Of course it has the downside that in any case a client still MUST be prepared for the case that it doesn't receive the AAAA records in the first response. So in that sense client complexity is a bit higher than for e.g. CoAP / GRASP(?) )

Regards
Esko 

-----Original Message-----
From: Esko Dijk 
Sent: Monday, May 16, 2022 09:59
To: Toerless Eckert <tte@cs.fau.de>; Ted Lemon <mellon@fugue.com>
Cc: dnssd@ietf.org
Subject: RE: [dnssd] CoAP resource discovery and DNS-SD

Hello Toerless,

Ted was referring to the Service Registration Protocol (SRP) for DNS-SD as defined by https://datatracker.ietf.org/doc/html/draft-ietf-dnssd-srp-13 .
This enables registration and discovery over generic services over unicast, similar to what a CoRE Resource Directory can do for CoAP resources.  A single request/reply exchange can be used to register a device's services.
Querying is the same as in unicast DNS-SD.

For SRP you need of course a way to get an IP address of the / a SRP server before you can use SRP registration/querying. In OpenThread, this is done by e.g. including such address in mesh-network-wide  configuration data. So then all devices that may need this, have it.
See GetNextDnsSrpUnicastInfo() https://github.com/openthread/openthread/blob/main/src/core/thread/network_data_service.cpp#L262 for details.

There's also the possibility to include a more compact set of configuration data that enables a device (client) to reach an SRP server over an anycast address ; see e.g. FindPreferredDnsSrpAnycastInfo() https://github.com/openthread/openthread/blob/main/src/core/thread/network_data_service.cpp#L196.
Anycast reachability is useful for redundancy if multiple SRP servers are available and are kept synchronized (using e.g. https://datatracker.ietf.org/doc/html/draft-lemon-srp-replication-01).

Some of the functions you mention may already be supported by the above approach. E.g. Thread defines mesh-local IPv6 addresses (described in the 'Thread Network Fundamentals' white paper) which would enable a device to advertise a particular service only in mesh scope, while other services could be advertised with greater scope by using a global or ULA IPv6 address. And the proxy function you mention may not be needed if multiple synchronized SRP servers are used, or a single SRP server that serves all mesh networks plus all regular non-constrained networks in an installation site.
Note that proxying between mDNS devices and SRP-using devices is provided for (by https://datatracker.ietf.org/doc/html/draft-sctl-advertising-proxy and rfc8766). Such that on-mesh constrained devices don't have to use multicast / mDNS.

Regards
Esko


-----Original Message-----
From: dnssd <dnssd-bounces@ietf.org> On Behalf Of Toerless Eckert
Sent: Saturday, May 14, 2022 16:02
To: Ted Lemon <mellon@fugue.com>
Cc: dnssd@ietf.org
Subject: Re: [dnssd] CoAP resource discovery and DNS-SD


To discover a service via mDNS is not not necessarily quite LLN friendly.

You need to query/reply for all the RR involved in a service, which is
if i remember AAAA, SRV, PTR, TXT and maybe CNAME. Admittedly
i have not tried to work out how many bits this is, but there is
also the question of how many packets this will end up being in the
widey deployed implementations and who takes care of minimizing/optimizing
that. So there is a cost to this more comples layering. RRs, messages, packets.

In coap, like in GRASP, we can map all necessary service elements into
a single message, so we know it is a single request/reply exchange.

Yes, i would definitely prefer to minimize the amount of multicast,
especially given how those LLN can really only flood them across
the whole network, but both DNS and COAP could be on par in that
department. 

Due to the proprietary nature of Thread i have not been able to figure
out how it proposes to instantiate and discover the server instances
of DNS or COAP that should be used. But thatss also where another
complexity can come in:

                                    coap/dns
                                    server                             coap/dns
      client .... 802.15.4-net .... border-rtr .... ent-networks ..... server
                                                       ...
                                                     service-server

The server we may want to discover on the client may not necessarily be
connected to the 802.15.4 network, but the enterprise network behind it,
(most simple designs would hope/expect for the service we want to use to
 be running on the border-rtr).

So, it seems to me i need some form of scoping of service/resource
request/replies from clients between those that should be only
resolved within the 802.15.4 network, and those that should resolve
(also) across the ent-network behind it. I am not quite sure how
to most easily do this, but off the top of my head it looks as
if i wanted some simple proxy function on the border router which
on a per-service/resource basis decides whether to forward the request
upstream to the coap/dns server in the enterprise network or not.
And with coap i can see how that proxy function is easily implemented,
and the concept of such a proxy is discussed in coap.

Replicating that functionality in DNS would be quite more complex i fear.

Cheers
    Toerless

On Fri, May 13, 2022 at 08:01:37PM -0400, Ted Lemon wrote:
> 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
> >

-- 
---
tte@cs.fau.de

_______________________________________________
dnssd mailing list
dnssd@ietf.org
https://www.ietf.org/mailman/listinfo/dnssd