CoRE Resource Directory: DNS-SD mapping
draft-ietf-core-rd-dns-sd-05

Document Type Active Internet-Draft (core WG)
Last updated 2019-07-07
Replaces draft-lynn-core-discovery-mapping
Stream IETF
Intended RFC status (None)
Formats plain text xml pdf htmlized bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE                                                     P. van der Stok
Internet-Draft                                                Consultant
Intended status: Standards Track                               M. Koster
Expires: January 8, 2020                                     SmartThings
                                                              C. Amsuess
                                             Energy Harvesting Solutions
                                                           July 07, 2019

                CoRE Resource Directory: DNS-SD mapping
                      draft-ietf-core-rd-dns-sd-05

Abstract

   Resource and service discovery are complementary.  Resource discovery
   provides fine-grained detail about the content of a web server, while
   service discovery can provide a scalable method to locate servers in
   large networks.  This document defines a method for mapping between
   CoRE Link Format attributes and DNS-Based Service Discovery records
   to facilitate the use of either method to locate RESTful service
   interfaces (APIs) in heterogeneous HTTP/CoAP environments.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on January 8, 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents

van der Stok, et al.     Expires January 8, 2020                [Page 1]
Internet-Draft   CoRE Resource Directory: DNS-SD mapping       July 2019

   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction and Background . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  CoRE Resource Discovery . . . . . . . . . . . . . . . . .   4
     1.3.  CoRE Resource Directories . . . . . . . . . . . . . . . .   5
     1.4.  DNS-Based Service Discovery . . . . . . . . . . . . . . .   5
   2.  New Link-Format Attributes  . . . . . . . . . . . . . . . . .   6
     2.1.  Export attribute "exp"  . . . . . . . . . . . . . . . . .   7
     2.2.  Resource Instance attribute "ins="  . . . . . . . . . . .   7
     2.3.  Service Type attribute "st="  . . . . . . . . . . . . . .   7
   3.  Mapping CoRE Link Attributes to DNS-SD Record Fields  . . . .   7
     3.1.  Mapping Resource Instance attribute "ins=" to <Instance>    7
     3.2.  Mapping Service Type attribute "st=" to <ServiceType> . .   8
     3.3.  <Domain> Mapping  . . . . . . . . . . . . . . . . . . . .   8
     3.4.  TXT Record key=value strings  . . . . . . . . . . . . . .   9
     3.5.  Exporting resource links into DNS-SD  . . . . . . . . . .   9
   4.  Exporting Resource Directory Service to DNS . . . . . . . . .  10
   5.  IANA considerations . . . . . . . . . . . . . . . . . . . . .  10
     5.1.  RD Parameters Registry  . . . . . . . . . . . . . . . . .  10
     5.2.  Service Name and Transport Protocol Port Number Registry   11
   6.  Security considerations . . . . . . . . . . . . . . . . . . .  11
   7.  Contributors  . . . . . . . . . . . . . . . . . . . . . . . .  11
   8.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  11
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  11
     9.1.  Normative References  . . . . . . . . . . . . . . . . . .  11
     9.2.  Informative References  . . . . . . . . . . . . . . . . .  13
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  14

1.  Introduction and Background

   The Constrained RESTful Environments (CoRE) working group aims at
   realizing the [REST] architecture in a suitable form for the most
   constrained devices (e.g. 8-bit microcontrollers with limited RAM and
   ROM) and networks (e.g. 6LoWPAN [RFC4944]).  CoRE is aimed at
   machine-to-machine (M2M) applications such as smart energy and
   building automation.  The main deliverable of CoRE is the Constrained
Show full document text