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

Document Type Active Internet-Draft (core WG)
Last updated 2018-10-22
Replaces draft-lynn-core-discovery-mapping
Stream IETF
Intended RFC status (None)
Formats plain text pdf html 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                                                             K. Lynn
Internet-Draft                                              Oracle + Dyn
Intended status: Standards Track                         P. van der Stok
Expires: April 25, 2019                                       Consultant
                                                               M. Koster
                                                             SmartThings
                                                              C. Amsuess
                                             Energy Harvesting Solutions
                                                        October 22, 2018

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

Abstract

   Resource and service discovery are complimentary.  Resource discovery
   provides fine-grained detail about the content of a 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 fields 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 April 25, 2019.

Copyright Notice

   Copyright (c) 2018 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

Lynn, et al.             Expires April 25, 2019                 [Page 1]
Internet-Draft   CoRE Resource Directory: DNS-SD mapping    October 2018

   (https://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   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  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  CoRE Resource Discovery . . . . . . . . . . . . . . . . .   3
     1.3.  CoRE Resource Directories . . . . . . . . . . . . . . . .   4
     1.4.  DNS-Based Service Discovery . . . . . . . . . . . . . . .   5
   2.  Mapping from web resources DNS services . . . . . . . . . . .   6
     2.1.  Domain mapping  . . . . . . . . . . . . . . . . . . . . .   6
     2.2.  ServiceType mapping . . . . . . . . . . . . . . . . . . .   6
     2.3.  Instance mapping  . . . . . . . . . . . . . . . . . . . .   7
   3.  New Link-Format Attributes  . . . . . . . . . . . . . . . . .   7
     3.1.  Export attribute "exp"  . . . . . . . . . . . . . . . . .   7
     3.2.  Resource Instance attribute "ins" . . . . . . . . . . . .   8
   4.  Mapping CoRE Link Attributes to DNS-SD Record Fields  . . . .   8
     4.1.  Mapping Resource Instance attribute "ins" to <Instance> .   8
     4.2.  Mapping Resource Type attribute "rt" to <ServiceType> . .   9
     4.3.  TXT Record key=value strings  . . . . . . . . . . . . . .   9
     4.4.  Exporting resource links into DNS-SD  . . . . . . . . . .  10
   5.  IANA considerations . . . . . . . . . . . . . . . . . . . . .  10
     5.1.  Mapping Resource Type into ServiceType  . . . . . . . . .  10
   6.  Security considerations . . . . . . . . . . . . . . . . . . .  10
   7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  11
     7.1.  Normative References  . . . . . . . . . . . . . . . . . .  11
     7.2.  Informative References  . . . . . . . . . . . . . . . . .  12
   Appendix A.  Acknowledgments  . . . . . . . . . . . . . . . . . .  13
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  13

1.  Introduction

   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).  CoRE is aimed at machine-to-
   machine (M2M) applications such as smart energy and building
Show full document text